# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
7820 | 2014-08-19T10:36:05 Z | gs14092 | 다각형 (GA5_polygon) | C++ | 0 ms | 0 KB |
#import<cstdio> long long x,y,r; main() { scanf("%lld%lld",&x,&y); if(x<3&&1<y)r-=2; x=(x+1)/2; y=b/2; r+=y*y+y-x*x+x;printf("%lld",r);}