Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9184
54104
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.6 6212 3636 Accepted 100
1 2 3 6 0002.6 6212 3624 Accepted 100
2 2 3 6 0002.8 6212 3628 Accepted 100
3 2 3 6 0002.7 6212 3620 Accepted 100
4 2 3 4 6 0003.1 6212 3724 Accepted 100
5 2 3 6 0002.5 6212 3564 Accepted 100
6 2 3 6 0002.5 6212 3652 Accepted 100
7 2 3 6 0002.5 6212 3612 Accepted 100
8 2 3 6 0002.8 6212 3680 Accepted 100
9 2 3 6 0002.6 6212 3640 Accepted 100
10 2 3 6 0002.5 6212 3612 Accepted 100
11 3 6 0003.8 6500 4024 Accepted 100
12 3 4 6 0004.3 6624 4148 Accepted 100
13 3 6 0003.7 6620 3968 Accepted 100
14 3 6 0003.2 6476 3668 Accepted 100
15 3 6 0004.1 6484 3920 Accepted 100
16 3 6 0003.4 6476 3748 Accepted 100
17 3 6 0003.9 6480 3940 Accepted 100
18 3 6 0005.0 6692 4324 Accepted 100
19 3 6 0003.4 6344 3824 Accepted 100
20 3 4 6 0004.3 6692 4252 Accepted 100
21 4 6 0172.2 54840 52016 Accepted 100
22 4 6 0084.1 35188 32308 Accepted 100
23 4 6 0121.0 47328 44348 Accepted 100
24 4 6 0115.4 34764 31884 Accepted 100
25 4 6 0110.3 43976 40996 Accepted 100
26 4 6 0092.9 38184 35208 Accepted 100
27 4 6 0130.0 50400 47472 Accepted 100
28 4 6 0076.1 32316 29448 Accepted 100
29 4 6 0104.0 37688 34820 Accepted 100
30 4 6 0129.6 42128 39384 Accepted 100
31 5 6 0150.2 30276 27104 Accepted 100
32 5 6 0093.8 22360 19456 Accepted 100
33 5 6 0121.8 22564 19492 Accepted 100
34 5 6 0107.4 20956 17864 Accepted 100
35 5 6 0133.5 27308 24460 Accepted 100
36 5 6 0253.2 34576 31604 Accepted 100
37 4 5 6 0169.6 46228 43208 Accepted 100
38 4 5 6 0165.8 47276 44376 Accepted 100
39 5 6 0183.8 34556 31396 Accepted 100
40 5 6 0131.6 27928 24636 Accepted 100
41 5 6 0150.0 24804 21632 Accepted 100
42 5 6 0231.6 32308 29404 Accepted 100
43 5 6 0118.7 24312 21540 Accepted 100
44 5 6 0147.4 25400 22340 Accepted 100
45 5 6 0126.4 30372 27552 Accepted 100
46 4 5 6 0203.7 54564 51664 Accepted 100
47 5 6 0141.1 29328 25948 Accepted 100
48 5 6 0097.7 23128 20104 Accepted 100
49 5 6 0238.8 33152 30216 Accepted 100
50 5 6 0220.2 30796 27904 Accepted 100
51 6 0163.4 31828 28932 Accepted 100
52 6 0203.9 35224 32116 Accepted 100
53 6 0164.5 39936 36884 Accepted 100
54 4 6 0188.5 49120 46196 Accepted 100
55 6 0072.2 20948 17568 Accepted 100
56 6 0109.7 27908 24520 Accepted 100
57 6 0160.6 28612 25672 Accepted 100
58 6 0124.2 24316 21384 Accepted 100
59 6 0186.0 34344 31624 Accepted 100
60 6 0128.2 26388 23332 Accepted 100
61 4 6 0210.0 53364 50252 Accepted 100
62 4 6 0125.0 36908 33984 Accepted 100
63 6 0167.6 35780 32428 Accepted 100
64 6 0165.9 35176 32044 Accepted 100
65 6 0219.8 34968 31904 Accepted 100
66 6 0123.0 24444 21536 Accepted 100
67 6 0118.7 25884 22920 Accepted 100
68 6 0136.2 26024 22976 Accepted 100
69 6 0113.8 28968 25888 Accepted 100
70 4 6 0107.6 32040 28968 Accepted 100
71 3 5 6 0002.9 6212 3716 Accepted 100
72 5 6 0118.7 25908 22872 Accepted 100
73 4 6 0226.4 56908 54044 Accepted 100
74 4 6 0227.4 56908 54048 Accepted 100
75 4 6 0231.2 56908 54104 Accepted 100
76 6 0339.9 35424 32452 Accepted 100
77 6 0336.4 35424 32432 Accepted 100
78 6 0322.3 35424 32400 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.04 KB
Back to Top