Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3986
21612
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.7 15584 3584 Accepted 100
1 2 3 6 0002.6 15584 3688 Accepted 100
2 2 3 6 0002.8 15584 3624 Accepted 100
3 2 3 6 0002.6 15584 3488 Accepted 100
4 2 3 4 6 0002.6 15584 3692 Accepted 100
5 2 3 6 0002.6 15584 3676 Accepted 100
6 2 3 6 0002.6 15584 3644 Accepted 100
7 2 3 6 0002.6 15584 3504 Accepted 100
8 2 3 6 0002.7 15584 3668 Accepted 100
9 2 3 6 0002.6 15584 3480 Accepted 100
10 2 3 6 0002.6 15584 3688 Accepted 100
11 3 6 0003.5 15584 3772 Accepted 100
12 3 4 6 0003.4 15584 3808 Accepted 100
13 3 6 0003.2 15584 3776 Accepted 100
14 3 6 0002.9 15584 3680 Accepted 100
15 3 6 0003.5 15584 3712 Accepted 100
16 3 6 0003.0 15584 3692 Accepted 100
17 3 6 0003.3 15584 3832 Accepted 100
18 3 6 0003.8 15600 4000 Accepted 100
19 3 6 0003.0 15584 3756 Accepted 100
20 3 4 6 0003.4 15600 3920 Accepted 100
21 4 6 0066.3 24456 19624 Accepted 100
22 4 6 0035.5 20916 13152 Accepted 100
23 4 6 0048.6 23072 16784 Accepted 100
24 4 6 0045.8 20832 13476 Accepted 100
25 4 6 0046.2 22452 15840 Accepted 100
26 4 6 0039.7 21472 14156 Accepted 100
27 4 6 0053.9 23628 17844 Accepted 100
28 4 6 0032.9 20384 12304 Accepted 100
29 4 6 0043.6 21400 14248 Accepted 100
30 4 6 0051.4 22116 15608 Accepted 100
31 5 6 0055.6 16252 9624 Accepted 100
32 5 6 0037.8 15988 7672 Accepted 100
33 5 6 0050.4 15584 7828 Accepted 100
34 5 6 0046.2 15584 7304 Accepted 100
35 5 6 0060.1 15584 8836 Accepted 100
36 5 6 0099.9 15716 10580 Accepted 100
37 4 5 6 0079.3 22864 17240 Accepted 100
38 4 5 6 0080.6 23052 17524 Accepted 100
39 5 6 0065.8 16384 10756 Accepted 100
40 5 6 0048.1 16120 8888 Accepted 100
41 5 6 0059.0 15584 8220 Accepted 100
42 5 6 0088.2 15716 9864 Accepted 100
43 5 6 0053.4 15584 8168 Accepted 100
44 5 6 0056.5 15848 8416 Accepted 100
45 5 6 0057.0 17920 10900 Accepted 100
46 4 5 6 0093.4 24392 20108 Accepted 100
47 5 6 0051.5 16252 9460 Accepted 100
48 5 6 0039.0 15988 7840 Accepted 100
49 5 6 0093.0 15716 10192 Accepted 100
50 5 6 0081.0 15716 9488 Accepted 100
51 6 0074.4 15584 9776 Accepted 100
52 6 0094.8 15848 10784 Accepted 100
53 6 0071.9 20320 14280 Accepted 100
54 4 6 0084.1 23388 18036 Accepted 100
55 6 0034.4 15988 7304 Accepted 100
56 6 0047.5 16120 8856 Accepted 100
57 6 0075.2 15584 9008 Accepted 100
58 6 0053.4 15584 8136 Accepted 100
59 6 0082.0 15584 10368 Accepted 100
60 6 0057.7 15716 8532 Accepted 100
61 4 6 0098.4 24172 19444 Accepted 100
62 4 6 0058.2 21220 14116 Accepted 100
63 6 0068.1 16384 10804 Accepted 100
64 6 0067.7 16384 10592 Accepted 100
65 6 0103.7 15716 10544 Accepted 100
66 6 0055.6 15584 7996 Accepted 100
67 6 0055.2 15584 8412 Accepted 100
68 6 0059.8 15716 8480 Accepted 100
69 6 0051.6 18208 10528 Accepted 100
70 4 6 0048.9 20320 12448 Accepted 100
71 3 5 6 0002.8 15584 3640 Accepted 100
72 5 6 0056.0 15584 8012 Accepted 100
73 4 6 0109.8 24832 21612 Accepted 100
74 4 6 0108.8 24832 21608 Accepted 100
75 4 6 0108.5 24836 21440 Accepted 100
76 6 0143.7 15716 12244 Accepted 100
77 6 0144.8 15716 12288 Accepted 100
78 6 0147.2 15716 12364 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.38 KB
Back to Top