Submission #1111295

#TimeUsernameProblemLanguageResultExecution timeMemory
1111295ezzzayLogičari (COCI21_logicari)C++14
0 / 110
1 ms336 KiB
#include<bits/stdc++.h> using namespace std; #define int long long #define ff first #define ss second #define pb push_back signed main(){ int n; cin>>n; if(n==3){ cout<<-1; return 0; } if(n%2){ cout<<n/2+1; return 0; } cout<<n/2; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...