Submission #9557

#TimeUsernameProblemLanguageResultExecution timeMemory
9557jaehadadWiring (kriii2_W)C++14
4 / 4
0 ms1672 KiB
#include<cstdio> #include<cassert> #include<cstring> #include<map> #include<set> #include<time.h> #include<algorithm> #include<stack> #include<queue> #include<utility> #include<cmath> #include<iostream> #include<string> #include<vector> using namespace std; int main() { long long n; cin >> n; if(n % 2 == 0) cout << n-1 << endl; else cout << n/2 << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...