Submission #9792

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