Submission #7795

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