Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7235
27140
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 0013.8 19492 12928 Accepted 100
1 2 3 6 0014.5 19492 12964 Accepted 100
2 2 3 6 0014.0 19492 13012 Accepted 100
3 2 3 6 0014.0 19492 12996 Accepted 100
4 2 3 4 6 0013.7 19492 13008 Accepted 100
5 2 3 6 0013.7 19492 13000 Accepted 100
6 2 3 6 0013.7 19492 13008 Accepted 100
7 2 3 6 0013.9 19492 13012 Accepted 100
8 2 3 6 0013.9 19492 12864 Accepted 100
9 2 3 6 0013.9 19492 12976 Accepted 100
10 2 3 6 0013.8 19492 12832 Accepted 100
11 3 6 0015.7 19624 13124 Accepted 100
12 3 4 6 0014.6 19624 13160 Accepted 100
13 3 6 0015.2 19624 13180 Accepted 100
14 3 6 0014.3 19624 13160 Accepted 100
15 3 6 0015.5 19624 13148 Accepted 100
16 3 6 0014.6 19492 13140 Accepted 100
17 3 6 0015.1 19624 13128 Accepted 100
18 3 6 0015.4 19624 13208 Accepted 100
19 3 6 0014.3 19492 13072 Accepted 100
20 3 4 6 0015.0 19624 13188 Accepted 100
21 4 6 0094.5 29140 25056 Accepted 100
22 4 6 0054.2 24620 19580 Accepted 100
23 4 6 0072.2 27340 22200 Accepted 100
24 4 6 0070.4 25816 20912 Accepted 100
25 4 6 0068.3 26796 21360 Accepted 100
26 4 6 0058.8 24856 20008 Accepted 100
27 4 6 0076.8 27584 22888 Accepted 100
28 4 6 0050.8 24224 18812 Accepted 100
29 4 6 0065.9 25576 20784 Accepted 100
30 4 6 0078.8 27700 22016 Accepted 100
31 5 6 0114.2 30076 24392 Accepted 100
32 5 6 0075.0 26304 21104 Accepted 100
33 5 6 0103.3 24904 20692 Accepted 100
34 5 6 0094.6 24508 20104 Accepted 100
35 5 6 0119.8 26356 22748 Accepted 100
36 5 6 0194.8 28864 26128 Accepted 100
37 4 5 6 0126.4 29604 24612 Accepted 100
38 4 5 6 0126.5 29840 24824 Accepted 100
39 5 6 0137.9 31456 26832 Accepted 100
40 5 6 0102.1 29276 23288 Accepted 100
41 5 6 0123.7 25696 21876 Accepted 100
42 5 6 0184.3 28072 25220 Accepted 100
43 5 6 0109.1 25564 21580 Accepted 100
44 5 6 0118.0 25828 21848 Accepted 100
45 5 6 0103.9 26852 22084 Accepted 100
46 4 5 6 0149.4 31176 27048 Accepted 100
47 5 6 0107.1 29800 24020 Accepted 100
48 5 6 0080.3 26548 21240 Accepted 100
49 5 6 0182.0 28336 25448 Accepted 100
50 5 6 0165.4 27544 24424 Accepted 100
51 6 0145.4 27016 23916 Accepted 100
52 6 0176.2 28336 25664 Accepted 100
53 6 0121.9 27528 23308 Accepted 100
54 4 6 0133.1 29332 24496 Accepted 100
55 6 0066.6 25324 19608 Accepted 100
56 6 0094.1 28596 22536 Accepted 100
57 6 0140.2 26092 22624 Accepted 100
58 6 0111.6 25036 21092 Accepted 100
59 6 0167.2 27676 24984 Accepted 100
60 6 0115.4 25564 21860 Accepted 100
61 4 6 0147.5 29960 25560 Accepted 100
62 4 6 0091.0 26016 21164 Accepted 100
63 6 0137.5 30956 26280 Accepted 100
64 6 0135.0 30776 26244 Accepted 100
65 6 0190.3 28072 25492 Accepted 100
66 6 0114.7 25036 21008 Accepted 100
67 6 0115.2 25300 21448 Accepted 100
68 6 0120.4 25300 21572 Accepted 100
69 6 0090.3 25524 20388 Accepted 100
70 4 6 0079.4 25292 20024 Accepted 100
71 3 5 6 0014.0 19492 12996 Accepted 100
72 5 6 0104.3 25452 20004 Accepted 100
73 4 6 0156.4 31664 27104 Accepted 100
74 4 6 0152.0 31536 27128 Accepted 100
75 4 6 0152.6 31556 27140 Accepted 100
76 6 0216.5 28740 25116 Accepted 100
77 6 0216.8 28696 24864 Accepted 100
78 6 0218.0 28724 25068 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.77 KB
Back to Top