Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

240
11416
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $5 \leq a \leq 10, 1 \leq N \leq 10$ 20 / 20
2 10~19 $5 \leq a \leq 10, 1 \leq N \leq 10$ 20 / 20
3 0~9, 20~29 $5 \leq a \leq 1000, 1 \leq N \leq 1000$ 30 / 30
4 10~19, 30~39 $5 \leq a \leq 1000, 1 \leq N \leq 1000$ 30 / 30

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 3 0002.7 14104 3624 Accepted 100
1 1 3 0002.5 14104 3640 Accepted 100
2 1 3 0002.6 14104 3576 Accepted 100
3 1 3 0002.4 14104 3628 Accepted 100
4 1 3 0002.7 14104 3660 Accepted 100
5 1 3 0002.5 14104 3568 Accepted 100
6 1 3 0002.5 14104 3584 Accepted 100
7 1 3 0002.5 14104 3596 Accepted 100
8 1 3 0002.4 14104 3480 Accepted 100
9 1 3 0002.5 14104 3660 Accepted 100
10 2 4 0002.5 14104 3612 Accepted 100
11 2 4 0002.5 14104 3644 Accepted 100
12 2 4 0002.5 14104 3620 Accepted 100
13 2 4 0002.5 14104 3712 Accepted 100
14 2 4 0002.5 14104 3672 Accepted 100
15 2 4 0002.4 14104 3580 Accepted 100
16 2 4 0002.4 14104 3588 Accepted 100
17 2 4 0002.5 14104 3616 Accepted 100
18 2 4 0002.5 14104 3576 Accepted 100
19 2 4 0003.4 14104 3612 Accepted 100
20 3 0004.4 14104 5424 Accepted 100
21 3 0010.0 14104 10168 Accepted 100
22 3 0008.1 14104 8468 Accepted 100
23 3 0008.2 14104 6908 Accepted 100
24 3 0006.5 14104 6808 Accepted 100
25 3 0011.5 14104 9440 Accepted 100
26 3 0006.9 14104 7520 Accepted 100
27 3 0004.3 14104 4088 Accepted 100
28 3 0006.8 14104 7380 Accepted 100
29 3 0007.4 14104 7424 Accepted 100
30 4 0011.8 14104 11416 Accepted 100
31 4 0011.7 14104 11284 Accepted 100
32 4 0011.1 14104 10792 Accepted 100
33 4 0011.6 14104 11312 Accepted 100
34 4 0011.2 14104 10868 Accepted 100
35 4 0011.0 14104 11024 Accepted 100
36 4 0011.5 14104 10916 Accepted 100
37 4 0011.6 14104 11220 Accepted 100
38 4 0011.3 14104 10836 Accepted 100
39 4 0012.0 14104 11292 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
649 Bytes
Back to Top