Submission #9608

#TimeUsernameProblemLanguageResultExecution timeMemory
9608siorWiring (kriii2_W)C++98
4 / 4
0 ms1672 KiB
#include <iostream> #include <stdio.h> using namespace std; int main() { long long n; cin >> n; if (n % 2 == 0) cout << n - 1 << endl; else cout << n / 2 << endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...