Submission #2790

#TimeUsernameProblemLanguageResultExecution timeMemory
2790swh0329다각형 (GA5_polygon)C++98
0 / 100
0 ms1088 KiB
#include<stdio.h> int main() { int a, b, i, n=0; scanf("%d %d", &a, &b); n=(a-b)/2; if(a%2==0 && b%2==0) n++; else if(a%2==1 && b%2==1) n--; printf("%d", n); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...