Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5715
25088
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.1 11680 8252 Accepted 100
1 2 3 6 0008.1 11680 8280 Accepted 100
2 2 3 6 0008.4 11680 8212 Accepted 100
3 2 3 6 0008.2 11680 8248 Accepted 100
4 2 3 4 6 0008.2 11680 8240 Accepted 100
5 2 3 6 0008.3 11680 8272 Accepted 100
6 2 3 6 0008.2 11680 8240 Accepted 100
7 2 3 6 0008.3 11680 8288 Accepted 100
8 2 3 6 0008.6 11680 8260 Accepted 100
9 2 3 6 0008.5 11680 8228 Accepted 100
10 2 3 6 0008.4 11680 8196 Accepted 100
11 3 6 0010.0 11680 8364 Accepted 100
12 3 4 6 0009.2 11680 8504 Accepted 100
13 3 6 0009.0 11812 8352 Accepted 100
14 3 6 0008.7 11680 8308 Accepted 100
15 3 6 0009.3 11680 8360 Accepted 100
16 3 6 0008.8 11680 8340 Accepted 100
17 3 6 0009.0 11680 8364 Accepted 100
18 3 6 0009.9 11812 8480 Accepted 100
19 3 6 0008.7 11680 8304 Accepted 100
20 3 4 6 0009.2 11708 8476 Accepted 100
21 4 6 0087.2 27568 25088 Accepted 100
22 4 6 0049.4 19716 17004 Accepted 100
23 4 6 0067.1 22248 19700 Accepted 100
24 4 6 0059.9 21012 18060 Accepted 100
25 4 6 0064.2 23376 20712 Accepted 100
26 4 6 0055.8 22108 19308 Accepted 100
27 4 6 0073.3 24312 21696 Accepted 100
28 4 6 0044.7 18164 15292 Accepted 100
29 4 6 0057.2 19856 16848 Accepted 100
30 4 6 0068.4 21892 19192 Accepted 100
31 5 6 0075.2 17592 14072 Accepted 100
32 5 6 0050.3 15628 12328 Accepted 100
33 5 6 0076.6 15376 12384 Accepted 100
34 5 6 0070.8 14980 11976 Accepted 100
35 5 6 0098.3 16300 13404 Accepted 100
36 5 6 0142.4 17884 15120 Accepted 100
37 4 5 6 0111.6 22432 19764 Accepted 100
38 4 5 6 0114.8 22728 19912 Accepted 100
39 5 6 0091.2 18516 15284 Accepted 100
40 5 6 0067.4 17316 13488 Accepted 100
41 5 6 0082.9 15904 13072 Accepted 100
42 5 6 0123.0 17488 14760 Accepted 100
43 5 6 0080.9 15772 12832 Accepted 100
44 5 6 0081.7 15904 12840 Accepted 100
45 5 6 0089.5 17644 14872 Accepted 100
46 4 5 6 0145.9 24732 22164 Accepted 100
47 5 6 0073.8 17460 13824 Accepted 100
48 5 6 0054.1 15760 12432 Accepted 100
49 5 6 0134.4 17620 14876 Accepted 100
50 5 6 0120.0 17092 14352 Accepted 100
51 6 0127.1 17224 14512 Accepted 100
52 6 0135.5 18280 15588 Accepted 100
53 6 0110.2 20380 17640 Accepted 100
54 4 6 0129.3 23256 20576 Accepted 100
55 6 0048.2 15364 11836 Accepted 100
56 6 0073.5 17316 13436 Accepted 100
57 6 0110.5 16564 13784 Accepted 100
58 6 0084.4 15772 12876 Accepted 100
59 6 0143.1 17752 15164 Accepted 100
60 6 0084.9 16300 13412 Accepted 100
61 4 6 0134.4 24416 21724 Accepted 100
62 4 6 0079.1 20048 17212 Accepted 100
63 6 0102.1 18912 15648 Accepted 100
64 6 0095.9 18780 15520 Accepted 100
65 6 0141.9 18016 15404 Accepted 100
66 6 0083.1 15772 12876 Accepted 100
67 6 0088.6 15904 12932 Accepted 100
68 6 0089.1 16036 13188 Accepted 100
69 6 0074.8 17472 14532 Accepted 100
70 4 6 0069.2 18664 15724 Accepted 100
71 3 5 6 0008.5 11680 8312 Accepted 100
72 5 6 0079.3 17624 13156 Accepted 100
73 4 6 0136.9 21124 17524 Accepted 100
74 4 6 0142.2 21560 18124 Accepted 100
75 4 6 0131.2 24252 20772 Accepted 100
76 6 0173.5 19728 16076 Accepted 100
77 6 0169.2 19732 16116 Accepted 100
78 6 0174.6 19728 16056 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.09 KB
Back to Top