Submission #643986

#TimeUsernameProblemLanguageResultExecution timeMemory
643986elifLogičari (COCI21_logicari)C++17
0 / 110
1 ms320 KiB
#include <bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(0); int n; cin >> n; for(int i=0; i<n; i++){ int u, v; cin >> u >> v; } if(n % 2) cout << -1 << endl; else cout << n/2 << endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...