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