Submission #7808

#TimeUsernameProblemLanguageResultExecution timeMemory
7808IohcEjnim다각형 (GA5_polygon)C++98
0 / 100
0 ms1088 KiB
#include <stdio.h> long long f(int x) { if (x < 2) return 0; return x*(x+1)-1; } int main() { int a, b; scanf("%d %d", &a, &b); printf("%lld", f(b/2)-f(a/2)); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...