# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
7819 | gs14092 | 다각형 (GA5_polygon) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#import<cstdio>
long long x,y,r;
main()
{
scanf("%lld%lld",&x,&y);
if(x<3&&1<y)r-=2:1;
x=(x+1)/2;
y=b/2;
r+=y*y+y-x*x+x;printf("%lld",r);}