Submission #9206

#TimeUsernameProblemLanguageResultExecution timeMemory
9206coreaWiring (kriii2_W)C++14
4 / 4
0 ms1088 KiB
#include <stdio.h> #include <string.h> int main() { long long N; scanf( "%lld", &N ); if( N & 1 ) { printf( "%lld\n", N / 2 ); } else { printf( "%lld\n", N - 1 ); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...