Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

989
10768
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~4 $m = n = 2$ 15 / 15
2 5~19 $2 < m = n \leq 5$ 20 / 20
3 20~29 $5 < m = n \leq 100$ 28 / 28
4 20~39 $5 < m, n \leq 1000$ 37 / 37

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 13944 3560 Accepted 100
1 1 0002.5 13944 3500 Accepted 100
2 1 0002.5 13944 3620 Accepted 100
3 1 0002.6 13944 3504 Accepted 100
4 1 0002.6 13944 3556 Accepted 100
5 2 0002.5 13944 3628 Accepted 100
6 2 0002.6 13944 3648 Accepted 100
7 2 0002.7 13944 3532 Accepted 100
8 2 0002.6 13944 3596 Accepted 100
9 2 0002.6 13944 3652 Accepted 100
10 2 0002.6 13944 3608 Accepted 100
11 2 0002.7 13944 3632 Accepted 100
12 2 0002.5 13944 3540 Accepted 100
13 2 0002.5 13944 3644 Accepted 100
14 2 0002.5 13944 3604 Accepted 100
15 2 0002.8 13944 3520 Accepted 100
16 2 0002.7 13944 3632 Accepted 100
17 2 0002.4 13944 3524 Accepted 100
18 2 0002.5 13944 3600 Accepted 100
19 2 0003.1 13944 3440 Accepted 100
20 3 4 0002.7 13944 3748 Accepted 100
21 3 4 0005.2 13944 4280 Accepted 100
22 3 4 0004.3 13944 4124 Accepted 100
23 3 4 0002.7 13944 3584 Accepted 100
24 3 4 0005.3 13944 4284 Accepted 100
25 3 4 0003.8 13944 4032 Accepted 100
26 3 4 0004.7 13944 4184 Accepted 100
27 3 4 0003.6 13944 4052 Accepted 100
28 3 4 0004.2 13944 4120 Accepted 100
29 3 4 0005.1 13944 4272 Accepted 100
30 4 0163.2 13944 10404 Accepted 100
31 4 0089.6 13944 9600 Accepted 100
32 4 0125.6 13944 7956 Accepted 100
33 4 0158.2 13944 10768 Accepted 100
34 4 0022.3 13944 7696 Accepted 100
35 4 0019.2 13944 9836 Accepted 100
36 4 0140.5 13944 8420 Accepted 100
37 4 0097.7 13944 7332 Accepted 100
38 4 0040.4 13944 7372 Accepted 100
39 4 0039.2 13944 5904 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
984 Bytes
Back to Top