Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7239
44948
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 3572 Accepted 100
1 2 3 6 0002.5 6212 3656 Accepted 100
2 2 3 6 0002.8 6212 3472 Accepted 100
3 2 3 6 0002.6 6212 3632 Accepted 100
4 2 3 4 6 0002.8 6212 3708 Accepted 100
5 2 3 6 0002.6 6212 3724 Accepted 100
6 2 3 6 0002.5 6212 3740 Accepted 100
7 2 3 6 0002.7 6212 3724 Accepted 100
8 2 3 6 0002.8 6212 3804 Accepted 100
9 2 3 6 0002.6 6212 3680 Accepted 100
10 2 3 6 0002.5 6212 3552 Accepted 100
11 3 6 0003.8 6496 3936 Accepted 100
12 3 4 6 0004.0 6620 4140 Accepted 100
13 3 6 0003.6 6492 3848 Accepted 100
14 3 6 0003.1 6344 3612 Accepted 100
15 3 6 0004.1 6476 3856 Accepted 100
16 3 6 0003.3 6344 3756 Accepted 100
17 3 6 0003.8 6476 3840 Accepted 100
18 3 6 0004.5 6680 4180 Accepted 100
19 3 6 0003.3 6376 3852 Accepted 100
20 3 4 6 0004.3 6684 4124 Accepted 100
21 4 6 0118.3 44584 41748 Accepted 100
22 4 6 0063.4 28768 25964 Accepted 100
23 4 6 0088.9 37748 34864 Accepted 100
24 4 6 0079.2 29776 26952 Accepted 100
25 4 6 0081.2 35180 32288 Accepted 100
26 4 6 0070.4 31096 28296 Accepted 100
27 4 6 0094.5 40108 37220 Accepted 100
28 4 6 0056.8 26644 23840 Accepted 100
29 4 6 0074.6 31500 28604 Accepted 100
30 4 6 0089.4 34948 32012 Accepted 100
31 5 6 0103.9 23344 20016 Accepted 100
32 5 6 0062.3 17980 14744 Accepted 100
33 5 6 0097.9 17912 15136 Accepted 100
34 5 6 0092.6 16792 13804 Accepted 100
35 5 6 0118.7 21068 18308 Accepted 100
36 5 6 0197.7 26116 23264 Accepted 100
37 4 5 6 0157.1 39400 36504 Accepted 100
38 4 5 6 0167.8 40212 37180 Accepted 100
39 5 6 0126.3 26404 23148 Accepted 100
40 5 6 0088.1 21616 18116 Accepted 100
41 5 6 0115.0 19584 16700 Accepted 100
42 5 6 0182.1 24616 21604 Accepted 100
43 5 6 0098.6 19332 16324 Accepted 100
44 5 6 0111.7 19732 16696 Accepted 100
45 5 6 0113.4 25084 22208 Accepted 100
46 4 5 6 0189.8 46208 43252 Accepted 100
47 5 6 0094.1 22752 19484 Accepted 100
48 5 6 0068.3 18540 15376 Accepted 100
49 5 6 0184.8 25160 22208 Accepted 100
50 5 6 0167.7 23504 20616 Accepted 100
51 6 0150.4 23260 20420 Accepted 100
52 6 0167.3 25848 22708 Accepted 100
53 6 0141.3 32432 29648 Accepted 100
54 4 6 0163.5 40968 38096 Accepted 100
55 6 0054.8 16464 13204 Accepted 100
56 6 0081.2 20940 17608 Accepted 100
57 6 0140.5 21228 18204 Accepted 100
58 6 0103.8 18600 15644 Accepted 100
59 6 0166.5 25024 22184 Accepted 100
60 6 0105.4 19764 16592 Accepted 100
61 4 6 0184.4 44384 41548 Accepted 100
62 4 6 0111.1 31412 28548 Accepted 100
63 6 0127.4 26364 23072 Accepted 100
64 6 0121.3 26000 22780 Accepted 100
65 6 0192.4 25468 22484 Accepted 100
66 6 0104.3 18804 15904 Accepted 100
67 6 0110.0 19312 16448 Accepted 100
68 6 0115.3 19460 16436 Accepted 100
69 6 0094.3 23808 20852 Accepted 100
70 4 6 0091.6 27484 24508 Accepted 100
71 3 5 6 0002.8 6212 3704 Accepted 100
72 5 6 0105.4 17952 14776 Accepted 100
73 4 6 0179.7 47880 44948 Accepted 100
74 4 6 0170.8 47752 44840 Accepted 100
75 4 6 0172.7 47748 44904 Accepted 100
76 6 0223.3 24816 21680 Accepted 100
77 6 0223.6 24684 21752 Accepted 100
78 6 0212.9 24816 21688 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.34 KB
Back to Top