Submission #636042

# Submission time Handle Problem Language Result Execution time Memory
636042 2022-08-27T18:14:30 Z Sofiatpc Logičari (COCI21_logicari) C++14
10 / 110
68 ms 1436 KB
#include <bits/stdc++.h>

using namespace std;

int main()
{
    int N; cin>>N;
    for(int i = 1; i <= N; i++)
    {
        int a, b; cin>>a>>b;
    }
    if(N%4==0)cout<<N/2<<"\n";
    else cout<<"-1\n";
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 1 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 68 ms 1424 KB Output is correct
6 Correct 51 ms 1420 KB Output is correct
7 Correct 60 ms 1436 KB Output is correct
8 Correct 52 ms 1412 KB Output is correct
# 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 Correct 0 ms 212 KB Output is correct
2 Correct 1 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 68 ms 1424 KB Output is correct
6 Correct 51 ms 1420 KB Output is correct
7 Correct 60 ms 1436 KB Output is correct
8 Correct 52 ms 1412 KB Output is correct
9 Incorrect 1 ms 212 KB Output isn't correct
10 Halted 0 ms 0 KB -