Submission #7823

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