From e1345e67383d32e590f722d7546cd32d234319e6 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 5 Oct 2024 08:53:35 +0800 Subject: [PATCH] update --- U206625/U206625.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/U206625/U206625.cpp b/U206625/U206625.cpp index 294989d..2bff75c 100644 --- a/U206625/U206625.cpp +++ b/U206625/U206625.cpp @@ -1,3 +1,20 @@ +#include +#include +#include + +using std::cin, std::cout, std::string, std::stack; + +constexpr size_t MOD {998244353}, MAX_N {(size_t)3e5+5}; +string s; +stack st; +unsigned int dp[MAX_N], ans, n; + int main(){ + cin>>s; + for(size_t i {0};i