Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

3901
11200
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 3272 Accepted 100
1 1 3 3 3260 Accepted 100
2 1 3 2 3256 Accepted 100
3 1 3 2 3252 Accepted 100
4 1 3 3 3252 Accepted 100
5 1 3 2 3348 Accepted 100
6 1 3 3 3252 Accepted 100
7 1 3 2 3324 Accepted 100
8 1 3 2 3204 Accepted 100
9 1 3 2 3324 Accepted 100
10 2 3 2 3268 Accepted 100
11 2 3 3 3268 Accepted 100
12 2 3 2 3260 Accepted 100
13 2 3 2 3348 Accepted 100
14 2 3 2 3272 Accepted 100
15 2 3 2 3328 Accepted 100
16 2 3 2 3404 Accepted 100
17 2 3 3 3272 Accepted 100
18 2 3 3 3256 Accepted 100
19 2 3 2 3200 Accepted 100
20 3 66 6944 Accepted 100
21 3 225 11200 Accepted 100
22 3 117 10712 Accepted 100
23 3 190 10228 Accepted 100
24 3 184 10084 Accepted 100
25 3 188 9984 Accepted 100
26 3 263 11092 Accepted 100
27 3 106 9056 Accepted 100
28 3 233 11020 Accepted 100
29 3 171 9560 Accepted 100
30 3 232 8436 Accepted 100
31 3 79 5068 Accepted 100
32 3 30 4592 Accepted 100
33 3 108 5384 Accepted 100
34 3 59 6312 Accepted 100
35 3 320 10556 Accepted 100
36 3 30 4076 Accepted 100
37 3 20 3792 Accepted 100
38 3 15 3500 Accepted 100
39 3 8 3480 Accepted 100
40 3 151 11168 Accepted 100
41 3 179 11140 Accepted 100
42 3 184 11016 Accepted 100
43 3 158 11168 Accepted 100
44 3 161 11080 Accepted 100
45 3 377 11184 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
15.9 KB
Back to Top