Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7436
23208
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~6 $n \leq 1000, q = 0$ 10 / 10
3 2~13 $q = 0$ 15 / 15
4 2~6, 14~20 $n, q \leq 1000$ 15 / 15
5 2~27 無其他限制 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 29840 3536 Accepted 100
1 1 0002.5 29840 3544 Accepted 100
2 2 3 4 5 0002.6 29840 3616 Accepted 100
3 2 3 4 5 0002.9 29840 3604 Accepted 100
4 2 3 4 5 0002.6 29840 3560 Accepted 100
5 2 3 4 5 0002.7 29840 3576 Accepted 100
6 2 3 4 5 0002.6 29840 3564 Accepted 100
7 3 5 0408.8 29840 23084 Accepted 100
8 3 5 0405.3 29840 23076 Accepted 100
9 3 5 0425.1 29840 23084 Accepted 100
10 3 5 0426.9 29840 23064 Accepted 100
11 3 5 0412.3 29840 23116 Accepted 100
12 3 5 0346.6 29840 22884 Accepted 100
13 3 5 0344.1 29840 23208 Accepted 100
14 4 5 0003.0 29840 3620 Accepted 100
15 4 5 0002.9 29840 3572 Accepted 100
16 4 5 0003.1 29840 3584 Accepted 100
17 4 5 0002.9 29840 3620 Accepted 100
18 4 5 0002.8 29840 3620 Accepted 100
19 4 5 0003.0 29840 3620 Accepted 100
20 4 5 0003.0 29840 3576 Accepted 100
21 5 0701.6 29840 23104 Accepted 100
22 5 0671.9 29840 23016 Accepted 100
23 5 0670.4 29840 23072 Accepted 100
24 5 0674.5 29840 22924 Accepted 100
25 5 0671.4 29840 23084 Accepted 100
26 5 0614.6 29840 23092 Accepted 100
27 5 0623.1 29840 23140 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
919 Bytes
Back to Top