Submission #15733

#TimeUsernameProblemLanguageResultExecution timeMemory
15733gs14004Wiring (kriii2_W)C++14
4 / 4
0 ms1084 KiB
#include <cstdio> #include <algorithm> #include <cstdlib> #include <cstring> #include <queue> #include <vector> using namespace std; typedef long long lint; lint x; int main(){ scanf("%lld",&x); printf("%lld",(x % 2) ? (x / 2) : (x-1)); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...