Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8222
44448
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.1 28864 8296 Accepted 100
1 2 3 6 0008.5 28864 8440 Accepted 100
2 2 3 6 0008.3 28864 8320 Accepted 100
3 2 3 6 0008.3 28864 8396 Accepted 100
4 2 3 4 6 0008.2 28864 8404 Accepted 100
5 2 3 6 0008.0 28864 8320 Accepted 100
6 2 3 6 0007.9 28864 8312 Accepted 100
7 2 3 6 0008.1 28864 8324 Accepted 100
8 2 3 6 0008.2 28864 8228 Accepted 100
9 2 3 6 0008.2 28864 8388 Accepted 100
10 2 3 6 0008.0 28864 8340 Accepted 100
11 3 6 0009.5 28864 8736 Accepted 100
12 3 4 6 0009.4 28888 8712 Accepted 100
13 3 6 0009.2 28996 8680 Accepted 100
14 3 6 0008.7 28864 8416 Accepted 100
15 3 6 0009.7 28864 8632 Accepted 100
16 3 6 0008.9 28864 8556 Accepted 100
17 3 6 0009.2 28864 8700 Accepted 100
18 3 6 0010.1 29056 8828 Accepted 100
19 3 6 0008.8 28864 8508 Accepted 100
20 3 4 6 0009.5 28924 8848 Accepted 100
21 4 6 0146.2 46676 43516 Accepted 100
22 4 6 0074.1 39580 29640 Accepted 100
23 4 6 0101.6 43900 37976 Accepted 100
24 4 6 0094.6 39468 29320 Accepted 100
25 4 6 0094.0 42676 35516 Accepted 100
26 4 6 0082.4 40708 31704 Accepted 100
27 4 6 0108.3 45044 40220 Accepted 100
28 4 6 0067.8 38608 27508 Accepted 100
29 4 6 0091.8 40616 31516 Accepted 100
30 4 6 0110.5 41972 34200 Accepted 100
31 5 6 0118.1 34776 27684 Accepted 100
32 5 6 0078.7 32812 21768 Accepted 100
33 5 6 0106.0 32560 22284 Accepted 100
34 5 6 0097.4 32164 21000 Accepted 100
35 5 6 0131.0 33484 26052 Accepted 100
36 5 6 0202.1 35068 32152 Accepted 100
37 4 5 6 0157.2 43496 37276 Accepted 100
38 4 5 6 0160.3 43880 37884 Accepted 100
39 5 6 0141.5 35700 31288 Accepted 100
40 5 6 0103.4 34500 25496 Accepted 100
41 5 6 0133.9 33088 24316 Accepted 100
42 5 6 0188.9 34672 30228 Accepted 100
43 5 6 0114.6 32956 23952 Accepted 100
44 5 6 0119.6 33088 24228 Accepted 100
45 5 6 0124.2 36116 27460 Accepted 100
46 4 5 6 0196.4 46588 43288 Accepted 100
47 5 6 0114.2 34644 27056 Accepted 100
48 5 6 0082.7 32944 22552 Accepted 100
49 5 6 0194.3 34804 30636 Accepted 100
50 5 6 0172.6 34276 28932 Accepted 100
51 6 0168.3 34408 29768 Accepted 100
52 6 0197.9 35464 32748 Accepted 100
53 6 0158.8 40112 33564 Accepted 100
54 4 6 0172.7 44592 39392 Accepted 100
55 6 0068.7 32548 20648 Accepted 100
56 6 0102.8 34500 25572 Accepted 100
57 6 0159.0 33748 27064 Accepted 100
58 6 0119.5 32956 23836 Accepted 100
59 6 0184.2 34936 31896 Accepted 100
60 6 0123.0 33484 25196 Accepted 100
61 4 6 0199.1 46164 42360 Accepted 100
62 4 6 0125.4 40248 30828 Accepted 100
63 6 0151.6 36096 32556 Accepted 100
64 6 0147.8 35964 32028 Accepted 100
65 6 0212.5 35200 32460 Accepted 100
66 6 0125.5 32956 24148 Accepted 100
67 6 0123.5 33088 24800 Accepted 100
68 6 0129.4 33220 24960 Accepted 100
69 6 0112.9 36100 26212 Accepted 100
70 4 6 0099.6 38392 27324 Accepted 100
71 3 5 6 0008.3 28864 8392 Accepted 100
72 5 6 0131.1 34808 24900 Accepted 100
73 4 6 0185.3 48300 44448 Accepted 100
74 4 6 0181.4 48300 44448 Accepted 100
75 4 6 0186.5 48300 44360 Accepted 100
76 6 0253.5 36912 33268 Accepted 100
77 6 0256.0 36916 33272 Accepted 100
78 6 0246.4 36912 33180 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.41 KB
Back to Top