# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
7823 |
2014-08-19T10:38:41 Z |
gs14092 |
다각형 (GA5_polygon) |
C++ |
|
0 ms |
1088 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;r+=y*y/4+y/2-x*x+x;printf("%lld",r);}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1088 KB |
Output is correct |
2 |
Correct |
0 ms |
1088 KB |
Output is correct |
3 |
Correct |
0 ms |
1088 KB |
Output is correct |
4 |
Correct |
0 ms |
1088 KB |
Output is correct |
5 |
Incorrect |
0 ms |
1088 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |