Submission #7800

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