| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 3174 | myungwoo | 다각형 (GA5_polygon) | C++98 | 0 ms | 1672 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.
#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--;
if (A < 3) A = 4;
if (A <= B) cout << (A+B)*((B-A)/2+1)/2 << endl;
else cout << "0\n";
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
