Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

147
3792
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $-10 ^ 6 \leq N, M \leq 10 ^ 6 $ 20 / 20
2 0~19 $-2 \times 10 ^ 9 \leq N, M \leq 2 \times 10 ^ 9 $ 20 / 20
3 0~39 $-10 ^ {18} \leq N, M \leq 10 ^ {18} $ 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 0003.7 6348 3568 Accepted 100
1 1 2 3 0003.6 6348 3792 Accepted 100
2 1 2 3 0003.6 6348 3752 Accepted 100
3 1 2 3 0003.6 6348 3588 Accepted 100
4 1 2 3 0003.7 6348 3564 Accepted 100
5 1 2 3 0003.9 6348 3584 Accepted 100
6 1 2 3 0003.8 6348 3776 Accepted 100
7 1 2 3 0003.7 6348 3584 Accepted 100
8 1 2 3 0003.7 6348 3564 Accepted 100
9 1 2 3 0003.8 6348 3536 Accepted 100
10 2 3 0003.5 6348 3576 Accepted 100
11 2 3 0004.0 6348 3752 Accepted 100
12 2 3 0003.9 6348 3568 Accepted 100
13 2 3 0003.8 6348 3744 Accepted 100
14 2 3 0003.7 6348 3576 Accepted 100
15 2 3 0003.8 6348 3560 Accepted 100
16 2 3 0003.4 6348 3564 Accepted 100
17 2 3 0003.1 6348 3560 Accepted 100
18 2 3 0003.8 6348 3576 Accepted 100
19 2 3 0003.7 6348 3608 Accepted 100
20 3 0003.6 6348 3584 Accepted 100
21 3 0003.7 6348 3744 Accepted 100
22 3 0003.4 6348 3764 Accepted 100
23 3 0003.4 6348 3536 Accepted 100
24 3 0003.5 6348 3568 Accepted 100
25 3 0003.5 6348 3500 Accepted 100
26 3 0003.7 6348 3784 Accepted 100
27 3 0003.5 6348 3556 Accepted 100
28 3 0003.9 6348 3708 Accepted 100
29 3 0003.5 6348 3452 Accepted 100
30 3 0003.4 6348 3576 Accepted 100
31 3 0003.6 6348 3452 Accepted 100
32 3 0003.8 6348 3572 Accepted 100
33 3 0004.1 6348 3608 Accepted 100
34 3 0003.8 6348 3792 Accepted 100
35 3 0003.7 6348 3556 Accepted 100
36 3 0004.2 6348 3784 Accepted 100
37 3 0003.6 6348 3744 Accepted 100
38 3 0003.6 6348 3584 Accepted 100
39 3 0003.5 6348 3528 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
214 Bytes
Back to Top