Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9779
49664
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 0 / 0
2 0~10 $N,Q \leq 500$ 19 / 19
3 0~20, 71 $N,Q\leq 3000$ 20 / 20
4 4, 12, 20~30, 37~38, 46, 54, 61~62, 70, 73~75 $|u_i-v_i|=1$ 11 / 11
5 0, 31~50, 71~72 $a_i,b_i$ 是一條邊的兩端 27 / 27
6 0~78 無其他限制 23 / 23

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 6 0002.6 6220 3648 Accepted 100
1 2 3 6 0002.7 6220 3820 Accepted 100
2 2 3 6 0002.8 6220 3732 Accepted 100
3 2 3 6 0002.7 6220 3716 Accepted 100
4 2 3 4 6 0002.7 6220 3736 Accepted 100
5 2 3 6 0002.6 6220 3820 Accepted 100
6 2 3 6 0002.6 6220 3716 Accepted 100
7 2 3 6 0002.7 6220 3620 Accepted 100
8 2 3 6 0002.9 6220 3692 Accepted 100
9 2 3 6 0002.8 6220 3668 Accepted 100
10 2 3 6 0002.6 6220 3632 Accepted 100
11 3 6 0004.3 6624 4100 Accepted 100
12 3 4 6 0004.2 6624 4000 Accepted 100
13 3 6 0004.3 6668 4184 Accepted 100
14 3 6 0003.6 6484 4120 Accepted 100
15 3 6 0004.5 6628 4040 Accepted 100
16 3 6 0003.9 6484 3912 Accepted 100
17 3 6 0004.4 6644 4220 Accepted 100
18 3 6 0005.2 6824 4416 Accepted 100
19 3 6 0003.5 6484 3968 Accepted 100
20 3 4 6 0004.6 6688 4328 Accepted 100
21 4 6 0168.6 49968 46996 Accepted 100
22 4 6 0086.3 32652 29896 Accepted 100
23 4 6 0120.1 43144 40492 Accepted 100
24 4 6 0110.4 32292 29316 Accepted 100
25 4 6 0114.3 40108 37296 Accepted 100
26 4 6 0095.5 35388 32568 Accepted 100
27 4 6 0128.7 45892 43132 Accepted 100
28 4 6 0076.6 30116 27348 Accepted 100
29 4 6 0105.1 35064 32276 Accepted 100
30 4 6 0123.8 38472 35784 Accepted 100
31 5 6 0141.3 35256 31820 Accepted 100
32 5 6 0092.3 26292 23296 Accepted 100
33 5 6 0128.4 26536 23620 Accepted 100
34 5 6 0113.3 24624 21652 Accepted 100
35 5 6 0154.6 31900 28772 Accepted 100
36 5 6 0245.6 40692 37876 Accepted 100
37 4 5 6 0185.4 42228 39428 Accepted 100
38 4 5 6 0192.5 43112 40180 Accepted 100
39 5 6 0172.0 40380 37176 Accepted 100
40 5 6 0128.2 32268 28648 Accepted 100
41 5 6 0157.5 29312 26420 Accepted 100
42 5 6 0224.5 37956 34940 Accepted 100
43 5 6 0136.7 28904 25996 Accepted 100
44 5 6 0146.9 29472 26536 Accepted 100
45 5 6 0147.8 31844 29092 Accepted 100
46 4 5 6 0231.5 49676 46852 Accepted 100
47 5 6 0134.2 34196 30908 Accepted 100
48 5 6 0096.9 27320 24304 Accepted 100
49 5 6 0233.0 38824 36032 Accepted 100
50 5 6 0209.0 36052 33076 Accepted 100
51 6 0201.1 37224 34480 Accepted 100
52 6 0232.6 41372 38372 Accepted 100
53 6 0200.3 38956 36032 Accepted 100
54 4 6 0218.4 44740 41764 Accepted 100
55 6 0080.2 24392 21300 Accepted 100
56 6 0122.3 32120 28740 Accepted 100
57 6 0193.3 33344 30508 Accepted 100
58 6 0153.1 28688 25736 Accepted 100
59 6 0225.3 40368 37624 Accepted 100
60 6 0148.3 30620 27560 Accepted 100
61 4 6 0237.2 48588 45832 Accepted 100
62 4 6 0140.8 34232 31280 Accepted 100
63 6 0182.1 42020 38820 Accepted 100
64 6 0178.7 41212 38252 Accepted 100
65 6 0257.0 41124 38172 Accepted 100
66 6 0150.0 29036 26016 Accepted 100
67 6 0147.5 30156 27284 Accepted 100
68 6 0163.9 30304 27196 Accepted 100
69 6 0135.9 29796 26996 Accepted 100
70 4 6 0114.2 29832 27068 Accepted 100
71 3 5 6 0003.0 6352 3792 Accepted 100
72 5 6 0168.3 31676 28068 Accepted 100
73 4 6 0229.0 52624 49664 Accepted 100
74 4 6 0238.7 52628 49620 Accepted 100
75 4 6 0238.6 52624 49568 Accepted 100
76 6 0318.7 43192 39676 Accepted 100
77 6 0316.2 43192 39588 Accepted 100
78 6 0311.0 43192 39588 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.95 KB
Back to Top