Submission #666822

#TimeUsernameProblemLanguageResultExecution timeMemory
666822mmkSuperpozicija (COCI22_superpozicija)C++14
0 / 110
2 ms212 KiB
#include<bits/stdc++.h> using namespace std; int main() { cin.tie(0)->sync_with_stdio(0); int t; cin >> t; while(t--) { string s; cin >> s; if(s == "()))((()") printf("0 1 0 1\n"); if(s == ")()()()(") printf("1 1 0 0\n"); if(s == "(()())") printf("-1\n"); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...