Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9832
53708
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.2 37656 8176 Accepted 100
1 2 3 6 0008.2 37656 8344 Accepted 100
2 2 3 6 0008.7 37656 8332 Accepted 100
3 2 3 6 0008.7 37656 8324 Accepted 100
4 2 3 4 6 0008.6 37656 8324 Accepted 100
5 2 3 6 0008.3 37656 8332 Accepted 100
6 2 3 6 0009.2 37656 8296 Accepted 100
7 2 3 6 0008.6 37656 8228 Accepted 100
8 2 3 6 0008.7 37656 8344 Accepted 100
9 2 3 6 0009.2 37656 8328 Accepted 100
10 2 3 6 0008.5 37656 8284 Accepted 100
11 3 6 0009.9 37656 8760 Accepted 100
12 3 4 6 0010.2 37724 8848 Accepted 100
13 3 6 0010.1 37788 8684 Accepted 100
14 3 6 0009.7 37656 8468 Accepted 100
15 3 6 0010.3 37656 8680 Accepted 100
16 3 6 0009.3 37656 8476 Accepted 100
17 3 6 0009.7 37656 8720 Accepted 100
18 3 6 0013.2 37764 8772 Accepted 100
19 3 6 0009.3 37656 8524 Accepted 100
20 3 4 6 0010.3 37764 8860 Accepted 100
21 4 6 0170.2 58468 51944 Accepted 100
22 4 6 0090.4 50192 34484 Accepted 100
23 4 6 0125.0 55232 44832 Accepted 100
24 4 6 0106.2 50052 34668 Accepted 100
25 4 6 0118.1 53800 41680 Accepted 100
26 4 6 0101.9 51504 37060 Accepted 100
27 4 6 0128.9 56560 47276 Accepted 100
28 4 6 0074.1 49044 32020 Accepted 100
29 4 6 0102.5 51388 37108 Accepted 100
30 4 6 0120.4 52980 40752 Accepted 100
31 5 6 0156.5 43568 32960 Accepted 100
32 5 6 0105.4 41604 25388 Accepted 100
33 5 6 0127.0 41352 25896 Accepted 100
34 5 6 0109.8 40956 24176 Accepted 100
35 5 6 0146.1 42276 30640 Accepted 100
36 5 6 0248.6 43860 38180 Accepted 100
37 4 5 6 0176.2 54752 44692 Accepted 100
38 4 5 6 0178.7 55208 45608 Accepted 100
39 5 6 0199.0 44492 37424 Accepted 100
40 5 6 0139.3 43292 30308 Accepted 100
41 5 6 0152.5 41880 28400 Accepted 100
42 5 6 0229.1 43464 35808 Accepted 100
43 5 6 0129.5 41748 27956 Accepted 100
44 5 6 0144.9 41880 28372 Accepted 100
45 5 6 0130.1 45724 32352 Accepted 100
46 4 5 6 0218.0 58360 52176 Accepted 100
47 5 6 0152.4 43436 31868 Accepted 100
48 5 6 0100.0 41736 26080 Accepted 100
49 5 6 0229.5 43596 36556 Accepted 100
50 5 6 0208.8 43068 34112 Accepted 100
51 6 0197.8 43200 35152 Accepted 100
52 6 0236.1 44256 38704 Accepted 100
53 6 0179.6 50524 39992 Accepted 100
54 4 6 0197.8 56020 47124 Accepted 100
55 6 0090.6 41340 23780 Accepted 100
56 6 0134.1 43292 29976 Accepted 100
57 6 0190.7 42540 31792 Accepted 100
58 6 0140.4 41748 27760 Accepted 100
59 6 0227.8 43728 37820 Accepted 100
60 6 0149.5 42276 29312 Accepted 100
61 4 6 0227.2 57864 51036 Accepted 100
62 4 6 0145.9 50960 36504 Accepted 100
63 6 0205.7 44888 38604 Accepted 100
64 6 0203.1 44756 38172 Accepted 100
65 6 0260.0 43992 38464 Accepted 100
66 6 0141.1 41748 27932 Accepted 100
67 6 0136.6 41880 28980 Accepted 100
68 6 0153.5 42012 29088 Accepted 100
69 6 0121.9 45804 30676 Accepted 100
70 4 6 0110.3 48804 32148 Accepted 100
71 3 5 6 0009.0 37656 8360 Accepted 100
72 5 6 0136.1 42012 27552 Accepted 100
73 4 6 0233.2 59356 53660 Accepted 100
74 4 6 0235.1 59360 53668 Accepted 100
75 4 6 0234.1 59360 53708 Accepted 100
76 6 0301.8 44124 39000 Accepted 100
77 6 0310.5 44124 39088 Accepted 100
78 6 0307.1 44124 38956 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.8 KB
Back to Top