Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

16735
7444
Time Limit Exceeded
40

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$ 0 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 3 3 3544 Accepted 100
1 1 3 3 3628 Accepted 100
2 1 3 3 3628 Accepted 100
3 1 3 3 3440 Accepted 100
4 1 3 3 3488 Accepted 100
5 1 3 3 3476 Accepted 100
6 1 3 2 3568 Accepted 100
7 1 3 3 3576 Accepted 100
8 1 3 3 3532 Accepted 100
9 1 3 3 3588 Accepted 100
10 2 3 2 3616 Accepted 100
11 2 3 3 3576 Accepted 100
12 2 3 3 3628 Accepted 100
13 2 3 2 3532 Accepted 100
14 2 3 3 3488 Accepted 100
15 2 3 3 3616 Accepted 100
16 2 3 3 3492 Accepted 100
17 2 3 2 3528 Accepted 100
18 2 3 3 3492 Accepted 100
19 2 3 2 3476 Accepted 100
20 3 742 5336 Accepted 100
21 3 1098 592 Time Limit Exceeded 0
22 3 1099 716 Time Limit Exceeded 0
23 3 1099 720 Time Limit Exceeded 0
24 3 1099 596 Time Limit Exceeded 0
25 3 1099 716 Time Limit Exceeded 0
26 3 1099 724 Time Limit Exceeded 0
27 3 1099 660 Time Limit Exceeded 0
28 3 1099 596 Time Limit Exceeded 0
29 3 1098 724 Time Limit Exceeded 0
30 3 99 6212 Accepted 100
31 3 44 4472 Accepted 100
32 3 24 4152 Accepted 100
33 3 32 4580 Accepted 100
34 3 50 4928 Accepted 100
35 3 118 7124 Accepted 100
36 3 23 3932 Accepted 100
37 3 15 3772 Accepted 100
38 3 6 3656 Accepted 100
39 3 5 3536 Accepted 100
40 3 1099 596 Time Limit Exceeded 0
41 3 1099 724 Time Limit Exceeded 0
42 3 1099 656 Time Limit Exceeded 0
43 3 1099 716 Time Limit Exceeded 0
44 3 1100 720 Time Limit Exceeded 0
45 3 137 7444 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
470 Bytes
Back to Top