Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27115
68996
Time Limit Exceeded
53

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $1 \le n\le 1000$ 11 / 11
2 0~19 $1 \le n\le 5\times10 ^ 5$ 42 / 42
3 0~34 $1 \le n\le 5\times10 ^ 7$ 0 / 47

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 0004.7 6048 3552 Accepted 100
1 1 2 3 0004.4 6048 3556 Accepted 100
2 1 2 3 0002.0 6048 3420 Accepted 100
3 1 2 3 0001.8 6048 3412 Accepted 100
4 1 2 3 0003.6 6048 3472 Accepted 100
5 1 2 3 0001.8 6048 3484 Accepted 100
6 1 2 3 0003.6 6048 3508 Accepted 100
7 1 2 3 0001.8 6048 3428 Accepted 100
8 1 2 3 0003.0 6048 3484 Accepted 100
9 1 2 3 0003.7 6048 3460 Accepted 100
10 2 3 0118.9 12276 7408 Accepted 100
11 2 3 0165.9 12276 7328 Accepted 100
12 2 3 0195.5 12276 7404 Accepted 100
13 2 3 0149.9 12276 7300 Accepted 100
14 2 3 0187.6 12276 7312 Accepted 100
15 2 3 0088.6 9204 5228 Accepted 100
16 2 3 0188.3 12276 7260 Accepted 100
17 2 3 0088.2 9204 5184 Accepted 100
18 2 3 0048.2 7668 4116 Accepted 100
19 2 3 0171.8 12276 7428 Accepted 100
20 3 1948.8 104436 68884 Accepted 100
21 3 2270.7 104436 68880 Time Limit Exceeded 0
22 3 2277.1 104436 68884 Time Limit Exceeded 0
23 3 0757.6 30708 19580 Accepted 100
24 3 0497.2 30708 19692 Accepted 100
25 3 2293.1 104436 68976 Time Limit Exceeded 0
26 3 2276.9 104436 68880 Time Limit Exceeded 0
27 3 0310.2 18420 11620 Accepted 100
28 3 0571.1 30708 19620 Accepted 100
29 3 2298.9 104436 68852 Time Limit Exceeded 0
30 3 2274.3 104436 68868 Time Limit Exceeded 0
31 3 1404.8 55284 36080 Accepted 100
32 3 2275.2 104436 68988 Time Limit Exceeded 0
33 3 1953.5 104436 68996 Accepted 100
34 3 2272.7 104436 68828 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
740 Bytes
Back to Top