Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7642
46672
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 33748 8356 Accepted 100
1 2 3 6 0008.5 33748 8392 Accepted 100
2 2 3 6 0008.5 33748 8384 Accepted 100
3 2 3 6 0008.6 33748 8408 Accepted 100
4 2 3 4 6 0008.3 33748 8500 Accepted 100
5 2 3 6 0008.0 33748 8300 Accepted 100
6 2 3 6 0008.4 33748 8420 Accepted 100
7 2 3 6 0008.5 33748 8432 Accepted 100
8 2 3 6 0008.4 33748 8532 Accepted 100
9 2 3 6 0008.3 33748 8548 Accepted 100
10 2 3 6 0008.5 33748 8400 Accepted 100
11 3 6 0009.7 33748 8824 Accepted 100
12 3 4 6 0009.6 33780 8880 Accepted 100
13 3 6 0009.5 33880 8788 Accepted 100
14 3 6 0008.9 33748 8640 Accepted 100
15 3 6 0009.9 33748 8624 Accepted 100
16 3 6 0009.1 33748 8700 Accepted 100
17 3 6 0009.5 33748 8784 Accepted 100
18 3 6 0010.5 33808 8972 Accepted 100
19 3 6 0009.0 33748 8508 Accepted 100
20 3 4 6 0009.9 33812 8980 Accepted 100
21 4 6 0128.2 51556 46448 Accepted 100
22 4 6 0067.4 44468 31480 Accepted 100
23 4 6 0092.7 48784 40384 Accepted 100
24 4 6 0088.8 44348 31260 Accepted 100
25 4 6 0084.0 47564 37908 Accepted 100
26 4 6 0073.1 45600 33692 Accepted 100
27 4 6 0097.0 49932 42740 Accepted 100
28 4 6 0061.6 43496 29228 Accepted 100
29 4 6 0083.7 45500 33664 Accepted 100
30 4 6 0100.3 46856 36684 Accepted 100
31 5 6 0105.9 39660 30592 Accepted 100
32 5 6 0072.3 37696 23752 Accepted 100
33 5 6 0091.8 37444 24208 Accepted 100
34 5 6 0081.2 37048 22704 Accepted 100
35 5 6 0118.3 38368 28484 Accepted 100
36 5 6 0184.6 39952 35252 Accepted 100
37 4 5 6 0141.6 48376 39884 Accepted 100
38 4 5 6 0141.4 48772 40716 Accepted 100
39 5 6 0126.3 40584 34656 Accepted 100
40 5 6 0096.4 39384 28096 Accepted 100
41 5 6 0121.2 37972 26516 Accepted 100
42 5 6 0173.2 39556 33108 Accepted 100
43 5 6 0105.1 37840 26188 Accepted 100
44 5 6 0106.2 37972 26540 Accepted 100
45 5 6 0103.6 40996 29636 Accepted 100
46 4 5 6 0169.8 51472 46400 Accepted 100
47 5 6 0101.5 39528 29764 Accepted 100
48 5 6 0076.4 37828 24648 Accepted 100
49 5 6 0176.6 39688 33824 Accepted 100
50 5 6 0160.1 39160 31664 Accepted 100
51 6 0163.8 39292 32424 Accepted 100
52 6 0183.9 40348 35852 Accepted 100
53 6 0149.9 44992 36200 Accepted 100
54 4 6 0172.3 49472 42088 Accepted 100
55 6 0074.8 37432 22136 Accepted 100
56 6 0107.0 39384 28112 Accepted 100
57 6 0143.4 38632 29568 Accepted 100
58 6 0107.9 37840 25916 Accepted 100
59 6 0181.8 39820 35000 Accepted 100
60 6 0115.5 38368 27564 Accepted 100
61 4 6 0187.3 51048 45396 Accepted 100
62 4 6 0113.5 45132 32872 Accepted 100
63 6 0157.2 40980 35876 Accepted 100
64 6 0153.5 40848 35420 Accepted 100
65 6 0197.9 40084 35560 Accepted 100
66 6 0116.9 37840 26184 Accepted 100
67 6 0118.5 37972 27056 Accepted 100
68 6 0118.8 38104 27176 Accepted 100
69 6 0104.1 40984 28068 Accepted 100
70 4 6 0091.6 43276 28868 Accepted 100
71 3 5 6 0008.6 33748 8488 Accepted 100
72 5 6 0105.4 38104 26116 Accepted 100
73 4 6 0187.7 52328 46664 Accepted 100
74 4 6 0185.8 52324 46672 Accepted 100
75 4 6 0191.0 52328 46660 Accepted 100
76 6 0236.7 40216 34920 Accepted 100
77 6 0225.5 40216 35184 Accepted 100
78 6 0223.8 40216 35068 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.49 KB
Back to Top