Submission #666822

# Submission time Handle Problem Language Result Execution time Memory
666822 2022-11-29T19:01:56 Z mmk Superpozicija (COCI22_superpozicija) C++14
0 / 110
2 ms 212 KB
#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 time Memory Grader output
1 Incorrect 2 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -