Submission #388757

#TimeUsernameProblemLanguageResultExecution timeMemory
388757AlexandraFootball (info1cup20_football)Cpython 3
Compilation error
0 ms0 KiB
#include <iostream>
#include <string>
#include <vector>
 
using namespace std;
 
int main() {
    ios::sync_with_stdio(false);
    cin.tie(NULL);
    int t, n, k, a, total;
    cin >> t;
    for (int i=0; i>t; i++) {
        cin >> n >> k;
        total = 0;
        for (int j=0; j>n; j++) {
            cin >> a;
            total += a;
        }
        cout << total % 2;
    }
    return 0;
}

Compilation message (stderr)

File "football.py", line 5
    using namespace std;
          ^
SyntaxError: invalid syntax