# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
3171 |
2013-08-27T09:18:44 Z |
myungwoo |
다각형 (GA5_polygon) |
C++ |
|
0 ms |
1672 KB |
#include <iostream>
using namespace std;
typedef long long lld;
lld A,B;
int main()
{
cin >> A >> B;
if (A&1) A++;
if (B&1) B--;
cout << (A+B)*((B-A)/2+1)/2 << endl;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1672 KB |
Output is correct |
2 |
Incorrect |
0 ms |
1672 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Halted |
0 ms |
0 KB |
- |