Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8260
50024
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 0013.6 19688 12916 Accepted 100
1 2 3 6 0013.8 19688 13052 Accepted 100
2 2 3 6 0014.2 19688 13028 Accepted 100
3 2 3 6 0013.9 19688 13032 Accepted 100
4 2 3 4 6 0013.7 19688 12884 Accepted 100
5 2 3 6 0013.6 19688 13004 Accepted 100
6 2 3 6 0013.7 19688 12964 Accepted 100
7 2 3 6 0013.7 19688 13056 Accepted 100
8 2 3 6 0014.1 19688 13072 Accepted 100
9 2 3 6 0013.9 19688 12996 Accepted 100
10 2 3 6 0013.7 19688 12888 Accepted 100
11 3 6 0015.1 19836 13260 Accepted 100
12 3 4 6 0015.0 19968 13408 Accepted 100
13 3 6 0014.7 19820 13160 Accepted 100
14 3 6 0014.3 19820 13100 Accepted 100
15 3 6 0015.4 19820 13232 Accepted 100
16 3 6 0014.5 19688 13052 Accepted 100
17 3 6 0015.2 19820 13168 Accepted 100
18 3 6 0015.8 20020 13536 Accepted 100
19 3 6 0014.5 19688 12996 Accepted 100
20 3 4 6 0015.4 20024 13500 Accepted 100
21 4 6 0126.7 48128 45048 Accepted 100
22 4 6 0070.6 35996 31808 Accepted 100
23 4 6 0093.4 42336 39216 Accepted 100
24 4 6 0090.4 37544 33004 Accepted 100
25 4 6 0084.3 40496 37040 Accepted 100
26 4 6 0076.8 37548 33668 Accepted 100
27 4 6 0100.9 44040 41208 Accepted 100
28 4 6 0064.5 34360 29956 Accepted 100
29 4 6 0086.9 38320 34280 Accepted 100
30 4 6 0101.2 41232 37124 Accepted 100
31 5 6 0114.4 30252 25000 Accepted 100
32 5 6 0079.4 26484 20692 Accepted 100
33 5 6 0106.7 25984 20536 Accepted 100
34 5 6 0094.6 25480 19852 Accepted 100
35 5 6 0135.3 28144 23288 Accepted 100
36 5 6 0209.6 30600 26272 Accepted 100
37 4 5 6 0159.5 45292 41084 Accepted 100
38 4 5 6 0168.3 45944 41992 Accepted 100
39 5 6 0136.3 31632 26856 Accepted 100
40 5 6 0101.6 29456 23580 Accepted 100
41 5 6 0126.6 26776 21644 Accepted 100
42 5 6 0193.8 29868 25240 Accepted 100
43 5 6 0115.7 26564 21512 Accepted 100
44 5 6 0116.7 26808 21748 Accepted 100
45 5 6 0123.1 33032 27792 Accepted 100
46 4 5 6 0202.9 50396 47132 Accepted 100
47 5 6 0111.7 29980 24380 Accepted 100
48 5 6 0080.3 26728 21408 Accepted 100
49 5 6 0193.8 30104 25428 Accepted 100
50 5 6 0171.2 29360 24408 Accepted 100
51 6 0162.8 28748 24428 Accepted 100
52 6 0187.6 30096 25748 Accepted 100
53 6 0156.0 38540 34232 Accepted 100
54 4 6 0178.2 46252 42372 Accepted 100
55 6 0071.0 25508 19700 Accepted 100
56 6 0102.8 28776 23148 Accepted 100
57 6 0151.1 27920 22880 Accepted 100
58 6 0122.2 26772 21308 Accepted 100
59 6 0181.3 29504 25264 Accepted 100
60 6 0118.6 27412 21928 Accepted 100
61 4 6 0200.0 48796 45320 Accepted 100
62 4 6 0124.0 38744 34376 Accepted 100
63 6 0146.4 31128 26524 Accepted 100
64 6 0144.7 30948 26160 Accepted 100
65 6 0211.6 29796 25420 Accepted 100
66 6 0126.1 26840 21228 Accepted 100
67 6 0126.5 27036 22008 Accepted 100
68 6 0126.6 27144 21672 Accepted 100
69 6 0111.3 32500 27368 Accepted 100
70 4 6 0101.0 35836 31072 Accepted 100
71 3 5 6 0013.8 19688 12908 Accepted 100
72 5 6 0116.6 25632 20188 Accepted 100
73 4 6 0193.5 53580 50024 Accepted 100
74 4 6 0187.3 53448 49888 Accepted 100
75 4 6 0187.6 53472 49964 Accepted 100
76 6 0268.4 31460 26780 Accepted 100
77 6 0256.7 31416 26904 Accepted 100
78 6 0247.4 31440 26832 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.99 KB
Back to Top