Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12409
68228
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 0008.5 51548 7784 Accepted 100
1 2 3 6 0008.2 51548 7872 Accepted 100
2 2 3 6 0009.0 51548 7776 Accepted 100
3 2 3 6 0008.6 51548 7772 Accepted 100
4 2 3 4 6 0008.5 51548 7792 Accepted 100
5 2 3 6 0008.3 51548 7804 Accepted 100
6 2 3 6 0008.5 51548 7868 Accepted 100
7 2 3 6 0008.4 51548 7768 Accepted 100
8 2 3 6 0008.6 51548 7808 Accepted 100
9 2 3 6 0008.9 51548 7780 Accepted 100
10 2 3 6 0008.5 51548 7768 Accepted 100
11 3 6 0010.2 51680 8384 Accepted 100
12 3 4 6 0010.1 51580 8388 Accepted 100
13 3 6 0010.1 51696 8512 Accepted 100
14 3 6 0010.1 51548 8164 Accepted 100
15 3 6 0013.1 51680 8424 Accepted 100
16 3 6 0009.5 51548 8248 Accepted 100
17 3 6 0012.4 51680 8512 Accepted 100
18 3 6 0011.2 51740 8916 Accepted 100
19 3 6 0009.4 51548 8120 Accepted 100
20 3 4 6 0010.7 51612 8756 Accepted 100
21 4 6 0223.1 69364 64884 Accepted 100
22 4 6 0119.3 62268 42396 Accepted 100
23 4 6 0158.8 66584 56032 Accepted 100
24 4 6 0137.1 62152 41924 Accepted 100
25 4 6 0143.6 65364 52164 Accepted 100
26 4 6 0121.2 63392 45828 Accepted 100
27 4 6 0177.6 67732 59644 Accepted 100
28 4 6 0109.0 61296 39012 Accepted 100
29 4 6 0136.4 63304 45388 Accepted 100
30 4 6 0164.6 64652 50084 Accepted 100
31 5 6 0180.9 58736 46328 Accepted 100
32 5 6 0118.2 56024 34864 Accepted 100
33 5 6 0162.2 55772 35280 Accepted 100
34 5 6 0150.3 55376 33056 Accepted 100
35 5 6 0199.3 56828 42800 Accepted 100
36 5 6 0297.8 58808 54628 Accepted 100
37 4 5 6 0232.0 66180 54716 Accepted 100
38 4 5 6 0245.9 66572 55944 Accepted 100
39 5 6 0225.3 59424 53412 Accepted 100
40 5 6 0163.9 58736 42444 Accepted 100
41 5 6 0183.0 56432 39372 Accepted 100
42 5 6 0277.8 58280 50920 Accepted 100
43 5 6 0182.5 56168 38712 Accepted 100
44 5 6 0179.3 56564 39668 Accepted 100
45 5 6 0180.4 59452 42472 Accepted 100
46 4 5 6 0290.0 69276 64384 Accepted 100
47 5 6 0181.5 58736 45012 Accepted 100
48 5 6 0120.9 56156 36032 Accepted 100
49 5 6 0296.7 58412 52340 Accepted 100
50 5 6 0263.5 57884 48480 Accepted 100
51 6 0261.7 57884 50196 Accepted 100
52 6 0299.2 59336 55680 Accepted 100
53 6 0247.9 63584 51812 Accepted 100
54 4 6 0288.4 67272 58092 Accepted 100
55 6 0111.7 55628 32156 Accepted 100
56 6 0158.0 58736 42016 Accepted 100
57 6 0240.1 57356 44792 Accepted 100
58 6 0180.7 56300 38604 Accepted 100
59 6 0299.4 58544 54380 Accepted 100
60 6 0181.0 56960 41188 Accepted 100
61 4 6 0312.7 68848 63132 Accepted 100
62 4 6 0198.2 62932 44256 Accepted 100
63 6 0239.0 59688 55884 Accepted 100
64 6 0238.1 59556 54728 Accepted 100
65 6 0314.3 58940 55404 Accepted 100
66 6 0185.9 56300 38756 Accepted 100
67 6 0193.2 56432 40300 Accepted 100
68 6 0190.1 56564 40556 Accepted 100
69 6 0178.8 59308 39540 Accepted 100
70 4 6 0156.5 61076 38516 Accepted 100
71 3 5 6 0008.9 51548 7848 Accepted 100
72 5 6 0168.4 59704 42320 Accepted 100
73 4 6 0297.9 71752 68144 Accepted 100
74 4 6 0300.3 71752 68228 Accepted 100
75 4 6 0296.9 71748 68140 Accepted 100
76 6 0336.4 62132 58112 Accepted 100
77 6 0360.7 62132 58116 Accepted 100
78 6 0342.2 62132 58052 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.79 KB
Back to Top