Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7246
44956
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.5 6212 3592 Accepted 100
1 2 3 6 0002.6 6212 3732 Accepted 100
2 2 3 6 0002.7 6212 3600 Accepted 100
3 2 3 6 0002.7 6212 3644 Accepted 100
4 2 3 4 6 0002.7 6212 3500 Accepted 100
5 2 3 6 0002.5 6212 3616 Accepted 100
6 2 3 6 0002.6 6212 3596 Accepted 100
7 2 3 6 0002.5 6212 3664 Accepted 100
8 2 3 6 0002.7 6212 3664 Accepted 100
9 2 3 6 0002.6 6212 3568 Accepted 100
10 2 3 6 0002.5 6212 3552 Accepted 100
11 3 6 0003.8 6500 4016 Accepted 100
12 3 4 6 0004.0 6620 4132 Accepted 100
13 3 6 0003.6 6492 3816 Accepted 100
14 3 6 0003.2 6344 3620 Accepted 100
15 3 6 0004.2 6476 3916 Accepted 100
16 3 6 0003.4 6344 3772 Accepted 100
17 3 6 0003.9 6476 3904 Accepted 100
18 3 6 0004.5 6688 4252 Accepted 100
19 3 6 0003.2 6376 3736 Accepted 100
20 3 4 6 0004.4 6680 4292 Accepted 100
21 4 6 0118.5 44584 41748 Accepted 100
22 4 6 0064.2 28764 25908 Accepted 100
23 4 6 0088.8 37744 34776 Accepted 100
24 4 6 0077.8 29780 26936 Accepted 100
25 4 6 0081.6 35176 32284 Accepted 100
26 4 6 0070.2 31096 28316 Accepted 100
27 4 6 0093.8 40108 37296 Accepted 100
28 4 6 0057.5 26644 23820 Accepted 100
29 4 6 0076.0 31500 28576 Accepted 100
30 4 6 0090.9 34940 31896 Accepted 100
31 5 6 0102.3 23344 20092 Accepted 100
32 5 6 0063.3 17980 14784 Accepted 100
33 5 6 0096.2 17912 15136 Accepted 100
34 5 6 0085.6 16792 13672 Accepted 100
35 5 6 0118.1 21068 18204 Accepted 100
36 5 6 0192.3 26116 23308 Accepted 100
37 4 5 6 0155.2 39404 36392 Accepted 100
38 4 5 6 0162.2 40212 37256 Accepted 100
39 5 6 0126.8 26404 23052 Accepted 100
40 5 6 0087.3 21616 18152 Accepted 100
41 5 6 0115.3 19584 16708 Accepted 100
42 5 6 0183.1 24616 21736 Accepted 100
43 5 6 0104.3 19332 16444 Accepted 100
44 5 6 0120.2 19732 16672 Accepted 100
45 5 6 0111.3 25076 22132 Accepted 100
46 4 5 6 0188.8 46208 43328 Accepted 100
47 5 6 0092.8 22752 19460 Accepted 100
48 5 6 0070.1 18540 15456 Accepted 100
49 5 6 0190.5 25160 22212 Accepted 100
50 5 6 0164.5 23504 20596 Accepted 100
51 6 0149.3 23260 20272 Accepted 100
52 6 0173.8 25848 22792 Accepted 100
53 6 0139.4 32436 29576 Accepted 100
54 4 6 0166.2 40968 38020 Accepted 100
55 6 0054.0 16464 13320 Accepted 100
56 6 0083.0 20940 17636 Accepted 100
57 6 0133.8 21228 18316 Accepted 100
58 6 0108.7 18600 15576 Accepted 100
59 6 0169.4 25016 22180 Accepted 100
60 6 0106.9 19764 16980 Accepted 100
61 4 6 0183.0 44388 41392 Accepted 100
62 4 6 0108.9 31412 28588 Accepted 100
63 6 0125.0 26364 23148 Accepted 100
64 6 0122.8 26000 22652 Accepted 100
65 6 0196.0 25468 22460 Accepted 100
66 6 0110.5 18804 15780 Accepted 100
67 6 0106.6 19316 16336 Accepted 100
68 6 0111.1 19460 16320 Accepted 100
69 6 0097.9 23804 20944 Accepted 100
70 4 6 0090.4 27484 24640 Accepted 100
71 3 5 6 0002.7 6212 3628 Accepted 100
72 5 6 0102.4 17952 14720 Accepted 100
73 4 6 0178.2 47880 44904 Accepted 100
74 4 6 0174.1 47748 44956 Accepted 100
75 4 6 0173.5 47748 44816 Accepted 100
76 6 0225.7 24816 21648 Accepted 100
77 6 0221.7 24684 21636 Accepted 100
78 6 0215.0 24816 21544 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.34 KB
Back to Top