Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5233
66900
Accepted
100

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$ 47 / 47

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 0003.5 6048 2940 Accepted 100
1 1 2 3 0003.6 6048 3088 Accepted 100
2 1 2 3 0001.5 6048 3084 Accepted 100
3 1 2 3 0001.5 6048 3140 Accepted 100
4 1 2 3 0003.5 6048 3068 Accepted 100
5 1 2 3 0001.4 6048 2928 Accepted 100
6 1 2 3 0002.9 6048 3000 Accepted 100
7 1 2 3 0001.9 6048 2932 Accepted 100
8 1 2 3 0003.5 6048 2996 Accepted 100
9 1 2 3 0003.3 6048 3076 Accepted 100
10 2 3 0015.5 7120 4200 Accepted 100
11 2 3 0022.3 6180 3072 Accepted 100
12 2 3 0031.0 7516 3996 Accepted 100
13 2 3 0024.0 7008 3796 Accepted 100
14 2 3 0026.7 6584 3600 Accepted 100
15 2 3 0019.3 6580 3596 Accepted 100
16 2 3 0027.1 7252 4276 Accepted 100
17 2 3 0011.7 6180 3128 Accepted 100
18 2 3 0012.7 6180 3136 Accepted 100
19 2 3 0024.3 6444 3416 Accepted 100
20 3 0255.1 8572 5496 Accepted 100
21 3 0477.6 43780 39652 Accepted 100
22 3 0478.8 34128 29520 Accepted 100
23 3 0092.6 12888 9396 Accepted 100
24 3 0067.0 7120 3964 Accepted 100
25 3 0291.3 24792 21296 Accepted 100
26 3 0369.1 16156 13000 Accepted 100
27 3 0042.3 8176 5132 Accepted 100
28 3 0085.7 10716 7544 Accepted 100
29 3 0450.7 36124 31836 Accepted 100
30 3 0870.8 71988 66900 Accepted 100
31 3 0176.5 19308 15212 Accepted 100
32 3 0342.0 29376 24692 Accepted 100
33 3 0249.2 12228 8740 Accepted 100
34 3 0743.2 27564 23976 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.21 KB
Back to Top