Submission #897262

#TimeUsernameProblemLanguageResultExecution timeMemory
897262SalihSahinLogičari (COCI21_logicari)C++14
10 / 110
47 ms1572 KiB
#include<bits/stdc++.h> #define int long long #define pb push_back #define mp make_pair using namespace std; const int mod = 1e9 + 7; const int inf = 1e17*2; const int N = 3e5 + 5; int32_t main(){ int n; cin>>n; for(int i = 0; i < n; i++){ int a, b; cin>>a>>b; } if(n%4 == 0) cout<<n/2<<endl; else cout<<-1<<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...