Submission #7791

#TimeUsernameProblemLanguageResultExecution timeMemory
7791ggoh다각형 (GA5_polygon)C++98
0 / 100
0 ms1088 KiB
#include<cstdio> long long a,b; main() { scanf("%lld%lld",&a,&b); b/=2; a-=1; a/=2; printf("%lld",2*((b+1)*b/2-(a+1)*a/2)); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...