Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15092
58508
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 0003.8 6220 3596 Accepted 100
1 2 3 6 0003.5 6220 3660 Accepted 100
2 2 3 6 0003.0 6352 3752 Accepted 100
3 2 3 6 0002.9 6220 3784 Accepted 100
4 2 3 4 6 0002.9 6220 3740 Accepted 100
5 2 3 6 0002.7 6220 3636 Accepted 100
6 2 3 6 0002.8 6220 3564 Accepted 100
7 2 3 6 0002.7 6220 3652 Accepted 100
8 2 3 6 0003.1 6352 3712 Accepted 100
9 2 3 6 0002.9 6220 3744 Accepted 100
10 2 3 6 0002.7 6220 3640 Accepted 100
11 3 6 0004.9 6888 4252 Accepted 100
12 3 4 6 0004.9 6748 4140 Accepted 100
13 3 6 0005.1 6972 4300 Accepted 100
14 3 6 0004.0 6616 3856 Accepted 100
15 3 6 0005.9 6888 4108 Accepted 100
16 3 6 0004.3 6616 4044 Accepted 100
17 3 6 0005.3 6940 4324 Accepted 100
18 3 6 0006.2 6912 4484 Accepted 100
19 3 6 0004.1 6648 3996 Accepted 100
20 3 4 6 0005.4 6908 4248 Accepted 100
21 4 6 0270.8 58444 55388 Accepted 100
22 4 6 0126.7 37888 34936 Accepted 100
23 4 6 0175.8 50440 47524 Accepted 100
24 4 6 0175.1 37376 34400 Accepted 100
25 4 6 0160.1 46836 43912 Accepted 100
26 4 6 0138.0 41040 38368 Accepted 100
27 4 6 0193.7 53608 50640 Accepted 100
28 4 6 0117.4 34808 32012 Accepted 100
29 4 6 0164.3 40700 37768 Accepted 100
30 4 6 0198.4 44844 42076 Accepted 100
31 5 6 0266.0 45108 41644 Accepted 100
32 5 6 0173.2 33344 30200 Accepted 100
33 5 6 0196.2 33684 30576 Accepted 100
34 5 6 0175.2 31040 27968 Accepted 100
35 5 6 0227.5 41080 38116 Accepted 100
36 5 6 0396.9 52852 49976 Accepted 100
37 4 5 6 0245.8 49200 46292 Accepted 100
38 4 5 6 0245.9 50272 47464 Accepted 100
39 5 6 0325.5 52208 48692 Accepted 100
40 5 6 0231.3 41064 37692 Accepted 100
41 5 6 0239.7 37500 34588 Accepted 100
42 5 6 0355.3 49108 46148 Accepted 100
43 5 6 0197.7 36888 33776 Accepted 100
44 5 6 0238.6 37660 34536 Accepted 100
45 5 6 0202.9 39080 36268 Accepted 100
46 4 5 6 0300.0 58136 55256 Accepted 100
47 5 6 0256.7 43740 40340 Accepted 100
48 5 6 0174.1 34532 31628 Accepted 100
49 5 6 0368.8 50400 47208 Accepted 100
50 5 6 0320.2 46612 43640 Accepted 100
51 6 0303.5 48280 45088 Accepted 100
52 6 0401.3 53744 50796 Accepted 100
53 6 0278.1 46836 43776 Accepted 100
54 4 6 0281.9 52256 49444 Accepted 100
55 6 0143.8 30704 27548 Accepted 100
56 6 0225.4 41040 37648 Accepted 100
57 6 0298.9 43028 39820 Accepted 100
58 6 0223.1 36624 33476 Accepted 100
59 6 0346.4 52496 49440 Accepted 100
60 6 0236.0 39116 36240 Accepted 100
61 4 6 0312.5 56852 53940 Accepted 100
62 4 6 0192.7 39688 36788 Accepted 100
63 6 0334.8 54268 51100 Accepted 100
64 6 0325.0 53324 50004 Accepted 100
65 6 0407.0 53504 50364 Accepted 100
66 6 0244.6 37020 34156 Accepted 100
67 6 0215.8 38620 35652 Accepted 100
68 6 0246.1 38784 35620 Accepted 100
69 6 0194.9 36100 33380 Accepted 100
70 4 6 0146.4 34372 31360 Accepted 100
71 3 5 6 0003.1 6352 3832 Accepted 100
72 5 6 0214.9 40120 36620 Accepted 100
73 4 6 0366.0 61524 58484 Accepted 100
74 4 6 0358.2 61524 58508 Accepted 100
75 4 6 0367.5 61524 58480 Accepted 100
76 6 0503.4 55688 52156 Accepted 100
77 6 0496.0 55688 52156 Accepted 100
78 6 0483.7 55688 52152 Accepted 100
Submitter:
Compiler:
c++11
Code Length:
3.62 KB
Back to Top