Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7835
40644
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.4 27496 8408 Accepted 100
1 2 3 6 0008.4 27496 8400 Accepted 100
2 2 3 6 0008.4 27496 8456 Accepted 100
3 2 3 6 0008.5 27496 8368 Accepted 100
4 2 3 4 6 0008.4 27496 8404 Accepted 100
5 2 3 6 0008.1 27496 8368 Accepted 100
6 2 3 6 0008.2 27496 8388 Accepted 100
7 2 3 6 0008.2 27496 8380 Accepted 100
8 2 3 6 0008.4 27496 8424 Accepted 100
9 2 3 6 0008.3 27496 8460 Accepted 100
10 2 3 6 0008.3 27496 8448 Accepted 100
11 3 6 0009.6 27496 8728 Accepted 100
12 3 4 6 0009.4 27496 8864 Accepted 100
13 3 6 0009.4 27628 8532 Accepted 100
14 3 6 0009.0 27496 8580 Accepted 100
15 3 6 0009.9 27496 8648 Accepted 100
16 3 6 0009.1 27496 8592 Accepted 100
17 3 6 0009.5 27496 8664 Accepted 100
18 3 6 0010.1 27640 8668 Accepted 100
19 3 6 0009.5 27496 8452 Accepted 100
20 3 4 6 0009.8 27516 8832 Accepted 100
21 4 6 0108.7 42308 39292 Accepted 100
22 4 6 0064.0 36392 27172 Accepted 100
23 4 6 0086.1 40000 34504 Accepted 100
24 4 6 0069.7 36308 26876 Accepted 100
25 4 6 0081.2 38984 32276 Accepted 100
26 4 6 0068.3 37340 29024 Accepted 100
27 4 6 0094.3 40952 36452 Accepted 100
28 4 6 0057.5 35596 25272 Accepted 100
29 4 6 0071.7 37272 28824 Accepted 100
30 4 6 0083.1 38388 31256 Accepted 100
31 5 6 0093.1 33408 26820 Accepted 100
32 5 6 0062.8 31444 21104 Accepted 100
33 5 6 0091.7 31192 21576 Accepted 100
34 5 6 0081.2 30796 20356 Accepted 100
35 5 6 0118.9 32116 25136 Accepted 100
36 5 6 0179.6 33700 30836 Accepted 100
37 4 5 6 0143.3 39656 33912 Accepted 100
38 4 5 6 0145.4 39988 34528 Accepted 100
39 5 6 0117.7 34332 30380 Accepted 100
40 5 6 0083.1 33132 24932 Accepted 100
41 5 6 0107.6 31720 23464 Accepted 100
42 5 6 0164.6 33304 29052 Accepted 100
43 5 6 0098.4 31588 23164 Accepted 100
44 5 6 0103.0 31720 23520 Accepted 100
45 5 6 0107.1 33924 25808 Accepted 100
46 4 5 6 0175.7 42244 38888 Accepted 100
47 5 6 0088.3 33276 26124 Accepted 100
48 5 6 0068.0 31576 21876 Accepted 100
49 5 6 0173.4 33436 29652 Accepted 100
50 5 6 0150.8 32908 27832 Accepted 100
51 6 0151.1 33040 28608 Accepted 100
52 6 0176.1 34096 31464 Accepted 100
53 6 0134.3 37116 31012 Accepted 100
54 4 6 0152.3 40580 35620 Accepted 100
55 6 0081.6 31180 19876 Accepted 100
56 6 0125.4 33132 24620 Accepted 100
57 6 0137.8 32380 26088 Accepted 100
58 6 0108.5 31588 23092 Accepted 100
59 6 0172.3 33568 30616 Accepted 100
60 6 0114.9 32116 24344 Accepted 100
61 4 6 0167.1 41896 38372 Accepted 100
62 4 6 0102.3 36956 28168 Accepted 100
63 6 0186.7 34728 31468 Accepted 100
64 6 0184.4 34596 30896 Accepted 100
65 6 0193.0 33832 31008 Accepted 100
66 6 0106.2 31588 23204 Accepted 100
67 6 0110.9 31720 23768 Accepted 100
68 6 0118.7 31852 24040 Accepted 100
69 6 0099.7 33820 24568 Accepted 100
70 4 6 0083.6 35404 25068 Accepted 100
71 3 5 6 0008.7 27496 8432 Accepted 100
72 5 6 0103.6 33440 24668 Accepted 100
73 4 6 0233.8 43808 40644 Accepted 100
74 4 6 0208.6 43808 40640 Accepted 100
75 4 6 0206.6 43804 40492 Accepted 100
76 6 0349.4 35544 32028 Accepted 100
77 6 0341.3 35548 31940 Accepted 100
78 6 0350.9 35544 31880 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.59 KB
Back to Top