Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7174
43412
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 0010.6 13296 10240 Accepted 100
1 2 3 6 0010.6 13296 10204 Accepted 100
2 2 3 6 0010.9 13296 10232 Accepted 100
3 2 3 6 0010.8 13296 10332 Accepted 100
4 2 3 4 6 0010.7 13296 10232 Accepted 100
5 2 3 6 0010.6 13296 10304 Accepted 100
6 2 3 6 0010.7 13296 10164 Accepted 100
7 2 3 6 0010.4 13296 10276 Accepted 100
8 2 3 6 0010.8 13296 10200 Accepted 100
9 2 3 6 0010.8 13296 10232 Accepted 100
10 2 3 6 0010.7 13296 10220 Accepted 100
11 3 6 0011.8 13428 10532 Accepted 100
12 3 4 6 0012.1 13536 10560 Accepted 100
13 3 6 0011.6 13428 10620 Accepted 100
14 3 6 0011.3 13428 10236 Accepted 100
15 3 6 0012.2 13428 10372 Accepted 100
16 3 6 0011.4 13428 10324 Accepted 100
17 3 6 0011.8 13428 10376 Accepted 100
18 3 6 0012.5 13584 10908 Accepted 100
19 3 6 0011.3 13428 10244 Accepted 100
20 3 4 6 0012.2 13584 10516 Accepted 100
21 4 6 0108.8 42668 39944 Accepted 100
22 4 6 0064.3 30380 27520 Accepted 100
23 4 6 0085.2 37216 34320 Accepted 100
24 4 6 0078.8 31484 28532 Accepted 100
25 4 6 0078.5 35272 32460 Accepted 100
26 4 6 0068.0 32156 29336 Accepted 100
27 4 6 0091.0 39008 36104 Accepted 100
28 4 6 0057.8 28792 25808 Accepted 100
29 4 6 0074.6 32636 29640 Accepted 100
30 4 6 0088.4 35364 32500 Accepted 100
31 5 6 0102.4 25448 22196 Accepted 100
32 5 6 0067.6 21576 18388 Accepted 100
33 5 6 0086.8 21400 18432 Accepted 100
34 5 6 0080.9 20620 17628 Accepted 100
35 5 6 0109.9 23584 20672 Accepted 100
36 5 6 0170.4 27104 24024 Accepted 100
37 4 5 6 0142.5 39068 36152 Accepted 100
38 4 5 6 0152.5 39692 36648 Accepted 100
39 5 6 0128.5 27588 24180 Accepted 100
40 5 6 0095.2 24256 20700 Accepted 100
41 5 6 0112.5 22572 19584 Accepted 100
42 5 6 0167.8 26084 23032 Accepted 100
43 5 6 0106.7 22388 19264 Accepted 100
44 5 6 0112.6 22708 19600 Accepted 100
45 5 6 0109.7 27240 24284 Accepted 100
46 4 5 6 0193.0 44356 41532 Accepted 100
47 5 6 0102.5 25048 21756 Accepted 100
48 5 6 0073.3 21964 18788 Accepted 100
49 5 6 0174.3 26468 23596 Accepted 100
50 5 6 0150.9 25308 22124 Accepted 100
51 6 0141.7 24824 21988 Accepted 100
52 6 0153.5 26764 23784 Accepted 100
53 6 0133.9 33020 30184 Accepted 100
54 4 6 0155.5 40120 37292 Accepted 100
55 6 0060.3 20396 17200 Accepted 100
56 6 0085.9 23588 20208 Accepted 100
57 6 0125.0 23500 20520 Accepted 100
58 6 0096.9 21696 18812 Accepted 100
59 6 0157.7 26028 23176 Accepted 100
60 6 0097.9 22572 19628 Accepted 100
61 4 6 0169.9 42752 39904 Accepted 100
62 4 6 0106.2 32728 29824 Accepted 100
63 6 0130.3 27272 24168 Accepted 100
64 6 0122.9 27040 23784 Accepted 100
65 6 0168.3 26376 23596 Accepted 100
66 6 0097.3 21860 18744 Accepted 100
67 6 0101.5 22152 19344 Accepted 100
68 6 0102.8 22292 19340 Accepted 100
69 6 0092.6 26300 23584 Accepted 100
70 4 6 0088.7 29692 26596 Accepted 100
71 3 5 6 0011.1 13296 10236 Accepted 100
72 5 6 0099.5 22404 18732 Accepted 100
73 4 6 0176.7 46452 43412 Accepted 100
74 4 6 0167.4 46320 43144 Accepted 100
75 4 6 0174.2 46348 43184 Accepted 100
76 6 0235.9 27204 23704 Accepted 100
77 6 0233.7 27164 23492 Accepted 100
78 6 0214.8 27188 23672 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.57 KB
Back to Top