Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14962
58476
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.7 6220 3568 Accepted 100
1 2 3 6 0002.8 6220 3704 Accepted 100
2 2 3 6 0003.0 6352 3744 Accepted 100
3 2 3 6 0002.8 6220 3648 Accepted 100
4 2 3 4 6 0002.7 6220 3628 Accepted 100
5 2 3 6 0002.7 6220 3672 Accepted 100
6 2 3 6 0002.7 6220 3664 Accepted 100
7 2 3 6 0002.7 6220 3636 Accepted 100
8 2 3 6 0003.0 6352 3840 Accepted 100
9 2 3 6 0002.9 6220 3628 Accepted 100
10 2 3 6 0002.6 6220 3668 Accepted 100
11 3 6 0004.9 6888 4248 Accepted 100
12 3 4 6 0004.8 6748 4268 Accepted 100
13 3 6 0005.1 6972 4316 Accepted 100
14 3 6 0004.2 6616 3936 Accepted 100
15 3 6 0006.0 6888 4184 Accepted 100
16 3 6 0004.3 6616 4032 Accepted 100
17 3 6 0005.1 6940 4264 Accepted 100
18 3 6 0006.2 6912 4468 Accepted 100
19 3 6 0004.1 6648 3848 Accepted 100
20 3 4 6 0005.1 6908 4284 Accepted 100
21 4 6 0272.4 58448 55512 Accepted 100
22 4 6 0118.2 37888 34916 Accepted 100
23 4 6 0175.7 50436 47620 Accepted 100
24 4 6 0171.6 37376 34356 Accepted 100
25 4 6 0159.5 46832 43820 Accepted 100
26 4 6 0133.2 41040 38356 Accepted 100
27 4 6 0193.1 53608 50732 Accepted 100
28 4 6 0105.1 34816 31948 Accepted 100
29 4 6 0165.2 40700 37740 Accepted 100
30 4 6 0199.7 44848 42068 Accepted 100
31 5 6 0260.4 45108 41792 Accepted 100
32 5 6 0169.0 33344 30196 Accepted 100
33 5 6 0203.2 33684 30576 Accepted 100
34 5 6 0174.5 31040 28036 Accepted 100
35 5 6 0236.5 41080 38072 Accepted 100
36 5 6 0386.3 52852 49896 Accepted 100
37 4 5 6 0233.5 49196 46208 Accepted 100
38 4 5 6 0239.2 50272 47608 Accepted 100
39 5 6 0332.5 52208 48680 Accepted 100
40 5 6 0224.0 41064 37708 Accepted 100
41 5 6 0241.5 37500 34620 Accepted 100
42 5 6 0353.6 49108 46284 Accepted 100
43 5 6 0187.1 36888 33888 Accepted 100
44 5 6 0234.3 37660 34672 Accepted 100
45 5 6 0201.3 39080 36132 Accepted 100
46 4 5 6 0302.5 58140 55216 Accepted 100
47 5 6 0257.1 43740 40320 Accepted 100
48 5 6 0169.9 34532 31472 Accepted 100
49 5 6 0362.7 50400 47352 Accepted 100
50 5 6 0327.2 46612 43656 Accepted 100
51 6 0304.1 48280 45216 Accepted 100
52 6 0380.6 53744 50768 Accepted 100
53 6 0283.7 46836 43916 Accepted 100
54 4 6 0278.6 52256 49308 Accepted 100
55 6 0147.3 30704 27544 Accepted 100
56 6 0219.8 41040 37552 Accepted 100
57 6 0300.2 43028 39936 Accepted 100
58 6 0214.6 36624 33536 Accepted 100
59 6 0336.3 52496 49364 Accepted 100
60 6 0247.1 39116 36132 Accepted 100
61 4 6 0312.6 56852 53864 Accepted 100
62 4 6 0190.7 39684 36780 Accepted 100
63 6 0343.0 54268 51016 Accepted 100
64 6 0323.0 53324 49860 Accepted 100
65 6 0397.4 53504 50536 Accepted 100
66 6 0238.3 37020 34008 Accepted 100
67 6 0216.8 38620 35616 Accepted 100
68 6 0245.0 38784 35584 Accepted 100
69 6 0189.5 36100 33360 Accepted 100
70 4 6 0151.6 34372 31516 Accepted 100
71 3 5 6 0003.1 6352 3832 Accepted 100
72 5 6 0218.4 40120 36576 Accepted 100
73 4 6 0355.3 61520 58348 Accepted 100
74 4 6 0366.0 61520 58348 Accepted 100
75 4 6 0359.2 61516 58476 Accepted 100
76 6 0491.0 55688 52156 Accepted 100
77 6 0499.0 55688 52148 Accepted 100
78 6 0479.7 55688 52020 Accepted 100
Submitter:
Compiler:
c++11
Code Length:
3.61 KB
Back to Top