Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

4003
5556
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 2 1528 Accepted 100
1 1 3 2 1580 Accepted 100
2 1 3 2 1620 Accepted 100
3 1 3 2 1532 Accepted 100
4 1 3 2 1572 Accepted 100
5 1 3 2 1580 Accepted 100
6 1 3 2 1580 Accepted 100
7 1 3 2 1648 Accepted 100
8 1 3 3 1576 Accepted 100
9 1 3 2 1604 Accepted 100
10 2 3 3 1632 Accepted 100
11 2 3 3 1604 Accepted 100
12 2 3 2 1572 Accepted 100
13 2 3 2 1568 Accepted 100
14 2 3 3 1596 Accepted 100
15 2 3 2 1616 Accepted 100
16 2 3 2 1616 Accepted 100
17 2 3 2 1620 Accepted 100
18 2 3 2 1572 Accepted 100
19 2 3 2 1644 Accepted 100
20 3 110 3440 Accepted 100
21 3 227 5424 Accepted 100
22 3 231 5360 Accepted 100
23 3 200 5060 Accepted 100
24 3 201 4932 Accepted 100
25 3 197 4980 Accepted 100
26 3 235 5484 Accepted 100
27 3 167 4424 Accepted 100
28 3 224 5428 Accepted 100
29 3 191 4712 Accepted 100
30 3 192 4176 Accepted 100
31 3 58 2400 Accepted 100
32 3 47 2240 Accepted 100
33 3 69 2604 Accepted 100
34 3 103 3060 Accepted 100
35 3 269 5184 Accepted 100
36 3 26 1888 Accepted 100
37 3 17 1832 Accepted 100
38 3 10 1740 Accepted 100
39 3 6 1648 Accepted 100
40 3 175 5436 Accepted 100
41 3 174 5556 Accepted 100
42 3 173 5524 Accepted 100
43 3 175 5528 Accepted 100
44 3 179 5528 Accepted 100
45 3 303 1568 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
334 Bytes
Back to Top