Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2240
7924
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 0001.7 6248 3500 Accepted 100
1 2 3 4 0001.8 6248 3496 Accepted 100
2 2 3 4 0001.7 6248 3344 Accepted 100
3 2 3 4 0001.6 6248 3556 Accepted 100
4 2 3 4 0002.0 6248 3556 Accepted 100
5 2 3 4 0001.4 6248 3516 Accepted 100
6 2 3 4 0001.4 6248 3340 Accepted 100
7 2 3 4 0001.9 6248 3532 Accepted 100
8 2 3 4 0001.2 6248 3532 Accepted 100
9 2 3 4 0001.6 6248 3512 Accepted 100
10 2 3 4 0001.7 6248 3532 Accepted 100
11 2 3 4 0001.4 6248 3468 Accepted 100
12 2 3 4 0001.6 6248 3492 Accepted 100
13 2 3 4 0001.6 6248 3620 Accepted 100
14 2 3 4 0001.6 6248 3520 Accepted 100
15 2 3 4 0001.6 6248 3540 Accepted 100
16 2 3 4 0001.3 6248 3348 Accepted 100
17 2 3 4 0001.4 6248 3532 Accepted 100
18 2 3 4 0001.5 6248 3488 Accepted 100
19 2 3 4 0001.6 6248 3544 Accepted 100
20 2 3 4 0001.1 6248 3460 Accepted 100
21 2 3 4 0001.3 6248 3480 Accepted 100
22 2 3 4 0001.7 6248 3440 Accepted 100
23 2 3 4 0001.8 6248 3540 Accepted 100
24 2 3 4 0001.4 6248 3456 Accepted 100
25 3 4 0022.6 6248 3652 Accepted 100
26 3 4 0013.7 6248 3580 Accepted 100
27 3 4 0006.8 6248 3652 Accepted 100
28 3 4 0024.1 6248 3548 Accepted 100
29 3 4 0012.7 6248 3588 Accepted 100
30 3 4 0017.6 6248 3580 Accepted 100
31 3 4 0029.4 6248 3592 Accepted 100
32 3 4 0016.8 6248 3404 Accepted 100
33 3 4 0012.1 6248 3664 Accepted 100
34 3 4 0023.2 6248 3596 Accepted 100
35 3 4 0013.2 6248 3540 Accepted 100
36 3 4 0012.8 6248 3572 Accepted 100
37 3 4 0021.7 6248 3596 Accepted 100
38 3 4 0018.1 6248 3684 Accepted 100
39 3 4 0011.5 6248 3556 Accepted 100
40 3 4 0021.9 6248 3556 Accepted 100
41 3 4 0018.5 6248 3592 Accepted 100
42 3 4 0012.3 6248 3552 Accepted 100
43 3 4 0028.7 6248 3548 Accepted 100
44 3 4 0019.9 6248 3588 Accepted 100
45 3 4 0022.1 6248 3544 Accepted 100
46 3 4 0021.8 6248 3580 Accepted 100
47 3 4 0017.4 6248 3596 Accepted 100
48 3 4 0021.7 6248 3552 Accepted 100
49 4 0105.6 10644 7852 Accepted 100
50 4 0044.7 8556 5732 Accepted 100
51 4 0069.5 10644 7804 Accepted 100
52 4 0095.2 10644 7852 Accepted 100
53 4 0030.3 7984 5244 Accepted 100
54 4 0049.0 9200 6480 Accepted 100
55 4 0086.6 10644 7804 Accepted 100
56 4 0057.9 9200 6388 Accepted 100
57 4 0085.9 10644 7792 Accepted 100
58 4 0089.2 10644 7804 Accepted 100
59 4 0108.5 10644 7848 Accepted 100
60 4 0073.1 9840 7004 Accepted 100
61 4 0088.4 10644 7924 Accepted 100
62 4 0034.5 7984 5152 Accepted 100
63 4 0100.1 10644 7800 Accepted 100
64 4 0101.0 10644 7740 Accepted 100
65 4 0062.4 9840 7004 Accepted 100
66 4 0036.9 7984 5144 Accepted 100
67 4 0096.8 10644 7820 Accepted 100
68 4 0068.8 9840 7120 Accepted 100
69 4 0041.6 8556 5736 Accepted 100
70 4 0087.9 10644 7860 Accepted 100
71 4 0090.1 10644 7796 Accepted 100
72 4 0056.4 9840 7020 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.48 KB
Back to Top