Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2596
8196
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 1~24 $n\leq 1000, q\leq 10$ 10 / 10
3 0~48 $n\leq 10^ {18}, q\leq 100$ 80 / 80
4 0~72 無特別限制 10 / 10

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 3 4 0003.0 6228 3444 Accepted 100
1 2 3 4 0002.5 6228 3472 Accepted 100
2 2 3 4 0001.3 6228 3480 Accepted 100
3 2 3 4 0002.1 6228 3496 Accepted 100
4 2 3 4 0001.7 6228 3364 Accepted 100
5 2 3 4 0002.0 6228 3496 Accepted 100
6 2 3 4 0001.8 6228 3324 Accepted 100
7 2 3 4 0001.4 6228 3436 Accepted 100
8 2 3 4 0001.4 6228 3568 Accepted 100
9 2 3 4 0001.4 6228 3368 Accepted 100
10 2 3 4 0001.8 6228 3476 Accepted 100
11 2 3 4 0001.4 6228 3564 Accepted 100
12 2 3 4 0001.5 6228 3472 Accepted 100
13 2 3 4 0001.5 6228 3468 Accepted 100
14 2 3 4 0001.8 6228 3416 Accepted 100
15 2 3 4 0001.6 6228 3496 Accepted 100
16 2 3 4 0001.5 6228 3492 Accepted 100
17 2 3 4 0001.5 6228 3432 Accepted 100
18 2 3 4 0001.4 6228 3424 Accepted 100
19 2 3 4 0001.4 6228 3504 Accepted 100
20 2 3 4 0001.1 6228 3488 Accepted 100
21 2 3 4 0001.1 6228 3428 Accepted 100
22 2 3 4 0001.5 6228 3500 Accepted 100
23 2 3 4 0001.7 6228 3496 Accepted 100
24 2 3 4 0001.4 6228 3500 Accepted 100
25 3 4 0023.2 6228 3548 Accepted 100
26 3 4 0014.3 6228 3552 Accepted 100
27 3 4 0004.7 6228 3524 Accepted 100
28 3 4 0029.2 6228 3556 Accepted 100
29 3 4 0015.4 6228 3536 Accepted 100
30 3 4 0014.4 6228 3540 Accepted 100
31 3 4 0022.1 6228 3528 Accepted 100
32 3 4 0013.5 6228 3528 Accepted 100
33 3 4 0015.0 6228 3540 Accepted 100
34 3 4 0028.4 6228 3404 Accepted 100
35 3 4 0016.2 6228 3632 Accepted 100
36 3 4 0010.9 6228 3540 Accepted 100
37 3 4 0022.1 6228 3556 Accepted 100
38 3 4 0018.6 6228 3400 Accepted 100
39 3 4 0015.2 6228 3516 Accepted 100
40 3 4 0029.7 6228 3544 Accepted 100
41 3 4 0024.1 6228 3548 Accepted 100
42 3 4 0009.4 6228 3476 Accepted 100
43 3 4 0023.5 6228 3624 Accepted 100
44 3 4 0016.0 6228 3492 Accepted 100
45 3 4 0022.1 6228 3536 Accepted 100
46 3 4 0021.6 6228 3536 Accepted 100
47 3 4 0021.8 6228 3492 Accepted 100
48 3 4 0027.6 6228 3428 Accepted 100
49 4 0130.0 11416 8148 Accepted 100
50 4 0073.6 8932 5764 Accepted 100
51 4 0080.1 11416 8104 Accepted 100
52 4 0109.9 11416 8180 Accepted 100
53 4 0029.8 8404 5332 Accepted 100
54 4 0067.8 9760 6700 Accepted 100
55 4 0111.9 11416 8148 Accepted 100
56 4 0066.7 9760 6476 Accepted 100
57 4 0097.4 11416 8056 Accepted 100
58 4 0105.6 11416 8196 Accepted 100
59 4 0112.3 11416 8144 Accepted 100
60 4 0070.1 10480 7352 Accepted 100
61 4 0106.3 11416 8196 Accepted 100
62 4 0042.1 8404 5328 Accepted 100
63 4 0095.9 11416 8176 Accepted 100
64 4 0107.0 11416 8076 Accepted 100
65 4 0077.1 10480 7344 Accepted 100
66 4 0047.3 8404 5336 Accepted 100
67 4 0117.7 11416 8148 Accepted 100
68 4 0095.7 10480 7296 Accepted 100
69 4 0065.3 8932 5776 Accepted 100
70 4 0122.2 11416 8144 Accepted 100
71 4 0099.8 11416 8196 Accepted 100
72 4 0064.9 10480 7376 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.29 KB
Back to Top