Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7167
38552
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.7 27308 8244 Accepted 100
1 2 3 6 0009.3 27308 8296 Accepted 100
2 2 3 6 0009.0 27308 8332 Accepted 100
3 2 3 6 0008.6 27308 8268 Accepted 100
4 2 3 4 6 0008.3 27308 8232 Accepted 100
5 2 3 6 0008.2 27308 8392 Accepted 100
6 2 3 6 0008.3 27308 8352 Accepted 100
7 2 3 6 0008.3 27308 8292 Accepted 100
8 2 3 6 0008.8 27308 8360 Accepted 100
9 2 3 6 0008.6 27308 8284 Accepted 100
10 2 3 6 0008.3 27308 8280 Accepted 100
11 3 6 0009.8 27308 8608 Accepted 100
12 3 4 6 0009.8 27308 8428 Accepted 100
13 3 6 0009.6 27440 8604 Accepted 100
14 3 6 0008.9 27308 8488 Accepted 100
15 3 6 0009.8 27308 8520 Accepted 100
16 3 6 0008.7 27308 8424 Accepted 100
17 3 6 0010.0 27444 8544 Accepted 100
18 3 6 0010.0 27448 8716 Accepted 100
19 3 6 0008.9 27308 8480 Accepted 100
20 3 4 6 0009.6 27448 8496 Accepted 100
21 4 6 0113.8 40208 36648 Accepted 100
22 4 6 0062.2 35040 25164 Accepted 100
23 4 6 0083.3 38188 32128 Accepted 100
24 4 6 0081.7 34972 24660 Accepted 100
25 4 6 0077.5 37304 30276 Accepted 100
26 4 6 0065.8 35876 26692 Accepted 100
27 4 6 0089.1 39028 34116 Accepted 100
28 4 6 0054.7 34360 23256 Accepted 100
29 4 6 0073.5 35816 26316 Accepted 100
30 4 6 0087.9 36780 29208 Accepted 100
31 5 6 0101.8 33844 27012 Accepted 100
32 5 6 0076.3 31692 21076 Accepted 100
33 5 6 0090.6 31456 21156 Accepted 100
34 5 6 0089.1 31016 19764 Accepted 100
35 5 6 0116.8 32500 24988 Accepted 100
36 5 6 0179.2 34276 30912 Accepted 100
37 4 5 6 0132.8 37900 31636 Accepted 100
38 4 5 6 0139.6 38180 32228 Accepted 100
39 5 6 0126.1 34884 30748 Accepted 100
40 5 6 0090.0 33248 25196 Accepted 100
41 5 6 0109.7 32044 22908 Accepted 100
42 5 6 0168.5 33820 28956 Accepted 100
43 5 6 0101.3 31904 22352 Accepted 100
44 5 6 0103.7 32048 23416 Accepted 100
45 5 6 0099.8 33524 24608 Accepted 100
46 4 5 6 0164.3 40156 36380 Accepted 100
47 5 6 0094.9 33688 26644 Accepted 100
48 5 6 0076.1 31848 21608 Accepted 100
49 5 6 0164.6 33972 29864 Accepted 100
50 5 6 0147.8 33380 28052 Accepted 100
51 6 0154.2 33544 28804 Accepted 100
52 6 0177.9 34680 31324 Accepted 100
53 6 0134.1 36096 29596 Accepted 100
54 4 6 0151.5 38704 33284 Accepted 100
55 6 0066.1 31388 19716 Accepted 100
56 6 0093.3 33248 24916 Accepted 100
57 6 0140.1 32796 26176 Accepted 100
58 6 0110.1 31900 22352 Accepted 100
59 6 0170.0 34140 30544 Accepted 100
60 6 0113.7 32464 24340 Accepted 100
61 4 6 0171.5 39852 35936 Accepted 100
62 4 6 0096.6 35552 25784 Accepted 100
63 6 0131.8 35312 31872 Accepted 100
64 6 0124.3 35164 31356 Accepted 100
65 6 0184.7 34416 31104 Accepted 100
66 6 0110.7 31904 22740 Accepted 100
67 6 0107.3 32064 24096 Accepted 100
68 6 0111.5 32196 24056 Accepted 100
69 6 0093.7 33276 23256 Accepted 100
70 4 6 0079.2 34184 23056 Accepted 100
71 3 5 6 0009.1 27308 8400 Accepted 100
72 5 6 0114.8 33780 24840 Accepted 100
73 4 6 0161.9 41624 38460 Accepted 100
74 4 6 0163.9 41620 38424 Accepted 100
75 4 6 0164.4 41628 38552 Accepted 100
76 6 0234.1 36140 32520 Accepted 100
77 6 0223.1 36144 32616 Accepted 100
78 6 0221.7 36140 32564 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.94 KB
Back to Top