Submission #9223

#TimeUsernameProblemLanguageResultExecution timeMemory
9223kcm1700Wiring (kriii2_W)C++14
4 / 4
0 ms1088 KiB
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; int main(){ long long n; scanf("%lld",&n); if (n%2 == 0) printf("%lld\n", n-1); else printf("%lld\n", n/2); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...