Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12955
66788
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 0010.4 49972 9836 Accepted 100
1 2 3 6 0010.7 49972 9844 Accepted 100
2 2 3 6 0010.7 49972 9964 Accepted 100
3 2 3 6 0010.3 49972 9884 Accepted 100
4 2 3 4 6 0010.3 49972 10024 Accepted 100
5 2 3 6 0010.2 49972 9896 Accepted 100
6 2 3 6 0010.2 49972 9892 Accepted 100
7 2 3 6 0010.3 49972 9976 Accepted 100
8 2 3 6 0010.2 49972 9944 Accepted 100
9 2 3 6 0010.4 49972 9892 Accepted 100
10 2 3 6 0010.0 49972 9976 Accepted 100
11 3 6 0012.2 50104 10532 Accepted 100
12 3 4 6 0011.9 50000 10492 Accepted 100
13 3 6 0012.0 50120 10636 Accepted 100
14 3 6 0011.2 49972 10352 Accepted 100
15 3 6 0012.3 50104 10436 Accepted 100
16 3 6 0011.4 49972 10304 Accepted 100
17 3 6 0012.2 50104 10460 Accepted 100
18 3 6 0012.8 50168 10716 Accepted 100
19 3 6 0011.3 49972 10212 Accepted 100
20 3 4 6 0013.3 50036 10680 Accepted 100
21 4 6 0207.8 67784 63848 Accepted 100
22 4 6 0109.1 60688 42384 Accepted 100
23 4 6 0153.0 65012 55504 Accepted 100
24 4 6 0131.9 60572 42028 Accepted 100
25 4 6 0135.8 63784 51860 Accepted 100
26 4 6 0118.4 61824 45776 Accepted 100
27 4 6 0164.8 66152 58824 Accepted 100
28 4 6 0096.7 59716 39368 Accepted 100
29 4 6 0129.2 61728 45428 Accepted 100
30 4 6 0158.8 63080 49732 Accepted 100
31 5 6 0191.2 57160 45668 Accepted 100
32 5 6 0126.5 54448 34804 Accepted 100
33 5 6 0170.8 54196 35584 Accepted 100
34 5 6 0153.2 53800 33172 Accepted 100
35 5 6 0202.5 55252 42536 Accepted 100
36 5 6 0337.9 57232 53592 Accepted 100
37 4 5 6 0235.7 64600 54252 Accepted 100
38 4 5 6 0250.8 64992 55360 Accepted 100
39 5 6 0234.3 57848 52128 Accepted 100
40 5 6 0163.5 57160 41724 Accepted 100
41 5 6 0207.6 54856 39244 Accepted 100
42 5 6 0313.2 56704 49988 Accepted 100
43 5 6 0178.7 54592 38584 Accepted 100
44 5 6 0204.9 54988 39460 Accepted 100
45 5 6 0192.1 57876 42384 Accepted 100
46 4 5 6 0293.2 67700 63452 Accepted 100
47 5 6 0182.6 57160 44312 Accepted 100
48 5 6 0128.3 54580 35952 Accepted 100
49 5 6 0323.6 56836 51312 Accepted 100
50 5 6 0282.8 56308 47812 Accepted 100
51 6 0268.6 56308 49324 Accepted 100
52 6 0321.4 57760 54668 Accepted 100
53 6 0255.7 62008 51168 Accepted 100
54 4 6 0281.4 65696 57200 Accepted 100
55 6 0108.0 54052 32216 Accepted 100
56 6 0163.3 57160 41564 Accepted 100
57 6 0262.9 55780 44480 Accepted 100
58 6 0199.7 54724 38436 Accepted 100
59 6 0307.3 56968 53352 Accepted 100
60 6 0201.5 55384 40920 Accepted 100
61 4 6 0300.4 67272 62248 Accepted 100
62 4 6 0185.7 61360 44424 Accepted 100
63 6 0255.0 58112 54344 Accepted 100
64 6 0247.7 57980 53356 Accepted 100
65 6 0353.6 57364 54212 Accepted 100
66 6 0215.2 54724 38816 Accepted 100
67 6 0198.7 54856 40308 Accepted 100
68 6 0212.4 54988 40452 Accepted 100
69 6 0166.2 57736 39780 Accepted 100
70 4 6 0148.9 59504 38988 Accepted 100
71 3 5 6 0010.6 49972 9960 Accepted 100
72 5 6 0215.6 58128 41928 Accepted 100
73 4 6 0283.4 70176 66788 Accepted 100
74 4 6 0279.1 70172 66772 Accepted 100
75 4 6 0284.6 70176 66712 Accepted 100
76 6 0407.2 60556 56568 Accepted 100
77 6 0407.7 60556 56464 Accepted 100
78 6 0399.4 60556 56540 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.48 KB
Back to Top