Submission #643988

#TimeUsernameProblemLanguageResultExecution timeMemory
643988elifLogičari (COCI21_logicari)C++17
10 / 110
15 ms1484 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 % 4) 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...