Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7724
61712
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 6220 3508 Accepted 100
1 2 3 6 0002.6 6220 3404 Accepted 100
2 2 3 6 0002.8 6220 3676 Accepted 100
3 2 3 6 0002.9 6220 3664 Accepted 100
4 2 3 4 6 0002.7 6220 3696 Accepted 100
5 2 3 6 0002.6 6220 3556 Accepted 100
6 2 3 6 0002.6 6220 3612 Accepted 100
7 2 3 6 0002.6 6220 3604 Accepted 100
8 2 3 6 0002.9 6220 3664 Accepted 100
9 2 3 6 0002.8 6220 3584 Accepted 100
10 2 3 6 0002.8 6220 3572 Accepted 100
11 3 6 0004.1 6504 4024 Accepted 100
12 3 4 6 0004.4 6732 4292 Accepted 100
13 3 6 0003.7 6492 3764 Accepted 100
14 3 6 0003.2 6352 3704 Accepted 100
15 3 6 0004.2 6356 3720 Accepted 100
16 3 6 0003.4 6352 3624 Accepted 100
17 3 6 0004.1 6488 3820 Accepted 100
18 3 6 0005.0 6976 4520 Accepted 100
19 3 6 0003.6 6356 3904 Accepted 100
20 3 4 6 0004.8 6972 4380 Accepted 100
21 4 6 0147.2 61544 58600 Accepted 100
22 4 6 0083.8 39696 36628 Accepted 100
23 4 6 0110.7 52988 50112 Accepted 100
24 4 6 0091.5 39212 36084 Accepted 100
25 4 6 0102.9 49176 46116 Accepted 100
26 4 6 0088.6 43140 40060 Accepted 100
27 4 6 0121.2 56468 53620 Accepted 100
28 4 6 0074.0 36516 33556 Accepted 100
29 4 6 0095.7 42724 39900 Accepted 100
30 4 6 0107.7 47084 44112 Accepted 100
31 5 6 0103.7 20856 17532 Accepted 100
32 5 6 0063.4 16272 13020 Accepted 100
33 5 6 0096.1 16224 13232 Accepted 100
34 5 6 0081.4 15224 12064 Accepted 100
35 5 6 0115.3 18884 15856 Accepted 100
36 5 6 0194.8 23104 20116 Accepted 100
37 4 5 6 0168.6 51724 48764 Accepted 100
38 4 5 6 0173.5 52920 49848 Accepted 100
39 5 6 0119.2 23396 20164 Accepted 100
40 5 6 0086.2 19384 15988 Accepted 100
41 5 6 0109.0 17612 14516 Accepted 100
42 5 6 0181.1 21868 18696 Accepted 100
43 5 6 0106.1 17420 14560 Accepted 100
44 5 6 0106.3 17648 14540 Accepted 100
45 5 6 0114.4 28056 25124 Accepted 100
46 4 5 6 0211.9 61200 58404 Accepted 100
47 5 6 0089.6 20392 17036 Accepted 100
48 5 6 0065.9 16720 13572 Accepted 100
49 5 6 0181.4 22280 19344 Accepted 100
50 5 6 0161.4 20872 17940 Accepted 100
51 6 0150.7 21512 18436 Accepted 100
52 6 0185.8 23620 20616 Accepted 100
53 6 0152.3 40604 37792 Accepted 100
54 4 6 0183.3 55000 52036 Accepted 100
55 6 0056.5 15432 12352 Accepted 100
56 6 0085.1 19376 15808 Accepted 100
57 6 0144.2 19540 16712 Accepted 100
58 6 0109.9 17300 14220 Accepted 100
59 6 0168.5 23040 20104 Accepted 100
60 6 0115.2 18332 15344 Accepted 100
61 4 6 0207.8 59856 57068 Accepted 100
62 4 6 0123.2 41648 38724 Accepted 100
63 6 0125.3 24260 20848 Accepted 100
64 6 0123.9 23900 20652 Accepted 100
65 6 0202.3 23364 20216 Accepted 100
66 6 0115.7 17364 14252 Accepted 100
67 6 0104.9 17988 15076 Accepted 100
68 6 0126.3 18020 15004 Accepted 100
69 6 0101.2 28128 25092 Accepted 100
70 4 6 0103.1 36052 33220 Accepted 100
71 3 5 6 0002.9 6220 3584 Accepted 100
72 5 6 0115.7 19552 15888 Accepted 100
73 4 6 0187.7 64740 61576 Accepted 100
74 4 6 0184.6 64744 61712 Accepted 100
75 4 6 0183.2 64740 61656 Accepted 100
76 6 0250.8 25228 21648 Accepted 100
77 6 0254.2 25232 21568 Accepted 100
78 6 0236.9 25228 21536 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.95 KB
Back to Top