Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

4097
42160
Congratulations!
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n \le 100, a_i \le {n\over 5}$ 20 / 20
2 10~19 $n \le 100$ 20 / 20
3 0~45 $n \le 10^6$ 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 3 3 3492 Accepted 100
1 1 3 3 3356 Accepted 100
2 1 3 2 3556 Accepted 100
3 1 3 3 3460 Accepted 100
4 1 3 3 3452 Accepted 100
5 1 3 3 3396 Accepted 100
6 1 3 4 3512 Accepted 100
7 1 3 4 3492 Accepted 100
8 1 3 4 3532 Accepted 100
9 1 3 4 3384 Accepted 100
10 2 3 5 3512 Accepted 100
11 2 3 5 3508 Accepted 100
12 2 3 5 3528 Accepted 100
13 2 3 5 3452 Accepted 100
14 2 3 4 3504 Accepted 100
15 2 3 5 3444 Accepted 100
16 2 3 5 3440 Accepted 100
17 2 3 4 3504 Accepted 100
18 2 3 5 3388 Accepted 100
19 2 3 5 3404 Accepted 100
20 3 125 6456 Accepted 100
21 3 241 10664 Accepted 100
22 3 308 10532 Accepted 100
23 3 249 9900 Accepted 100
24 3 173 9640 Accepted 100
25 3 211 9668 Accepted 100
26 3 159 10664 Accepted 100
27 3 121 8876 Accepted 100
28 3 136 10636 Accepted 100
29 3 113 9152 Accepted 100
30 3 112 7996 Accepted 100
31 3 36 4560 Accepted 100
32 3 28 4376 Accepted 100
33 3 38 4916 Accepted 100
34 3 83 5944 Accepted 100
35 3 317 10268 Accepted 100
36 3 37 3528 Accepted 100
37 3 19 3524 Accepted 100
38 3 17 3732 Accepted 100
39 3 10 3604 Accepted 100
40 3 228 26224 Accepted 100
41 3 236 26320 Accepted 100
42 3 251 31508 Accepted 100
43 3 281 31564 Accepted 100
44 3 330 42160 Accepted 100
45 3 157 10752 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
468 Bytes
Back to Top