Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8330
44460
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.3 28864 8252 Accepted 100
1 2 3 6 0008.2 28864 8368 Accepted 100
2 2 3 6 0008.2 28864 8332 Accepted 100
3 2 3 6 0008.2 28864 8392 Accepted 100
4 2 3 4 6 0008.3 28864 8324 Accepted 100
5 2 3 6 0008.1 28864 8436 Accepted 100
6 2 3 6 0008.0 28864 8384 Accepted 100
7 2 3 6 0008.1 28864 8140 Accepted 100
8 2 3 6 0008.3 28864 8352 Accepted 100
9 2 3 6 0008.2 28864 8316 Accepted 100
10 2 3 6 0008.0 28864 8308 Accepted 100
11 3 6 0009.5 28864 8668 Accepted 100
12 3 4 6 0009.6 28892 8784 Accepted 100
13 3 6 0009.1 28996 8664 Accepted 100
14 3 6 0008.7 28864 8508 Accepted 100
15 3 6 0009.6 28864 8596 Accepted 100
16 3 6 0009.0 28864 8496 Accepted 100
17 3 6 0009.3 28864 8624 Accepted 100
18 3 6 0010.3 29056 8724 Accepted 100
19 3 6 0008.8 28864 8560 Accepted 100
20 3 4 6 0009.8 28924 8936 Accepted 100
21 4 6 0136.1 46676 43560 Accepted 100
22 4 6 0074.5 39584 29568 Accepted 100
23 4 6 0105.5 43900 37904 Accepted 100
24 4 6 0091.7 39468 29304 Accepted 100
25 4 6 0094.2 42684 35636 Accepted 100
26 4 6 0082.8 40712 31724 Accepted 100
27 4 6 0111.3 45040 40060 Accepted 100
28 4 6 0067.8 38612 27536 Accepted 100
29 4 6 0087.5 40616 31412 Accepted 100
30 4 6 0102.5 41976 34408 Accepted 100
31 5 6 0125.4 34776 27564 Accepted 100
32 5 6 0081.6 32812 21972 Accepted 100
33 5 6 0109.4 32560 22268 Accepted 100
34 5 6 0097.3 32164 21028 Accepted 100
35 5 6 0138.5 33484 26056 Accepted 100
36 5 6 0206.9 35068 32076 Accepted 100
37 4 5 6 0161.8 43492 37248 Accepted 100
38 4 5 6 0162.5 43880 37852 Accepted 100
39 5 6 0146.2 35700 31348 Accepted 100
40 5 6 0106.0 34500 25544 Accepted 100
41 5 6 0127.0 33088 24268 Accepted 100
42 5 6 0189.8 34672 30260 Accepted 100
43 5 6 0118.0 32956 23844 Accepted 100
44 5 6 0124.9 33088 24384 Accepted 100
45 5 6 0124.7 36112 27428 Accepted 100
46 4 5 6 0201.1 46596 43096 Accepted 100
47 5 6 0117.3 34644 27040 Accepted 100
48 5 6 0083.9 32944 22404 Accepted 100
49 5 6 0193.1 34804 30876 Accepted 100
50 5 6 0175.3 34276 28904 Accepted 100
51 6 0166.8 34408 29720 Accepted 100
52 6 0193.8 35464 32556 Accepted 100
53 6 0158.5 40104 33616 Accepted 100
54 4 6 0174.2 44588 39140 Accepted 100
55 6 0069.8 32548 20464 Accepted 100
56 6 0103.1 34500 25432 Accepted 100
57 6 0155.4 33748 26888 Accepted 100
58 6 0123.3 32956 23896 Accepted 100
59 6 0194.0 34936 31868 Accepted 100
60 6 0120.2 33484 25196 Accepted 100
61 4 6 0198.0 46168 42524 Accepted 100
62 4 6 0122.9 40248 30832 Accepted 100
63 6 0145.7 36096 32700 Accepted 100
64 6 0146.5 35964 32052 Accepted 100
65 6 0205.1 35200 32412 Accepted 100
66 6 0127.0 32956 24032 Accepted 100
67 6 0130.1 33088 24812 Accepted 100
68 6 0133.2 33220 24900 Accepted 100
69 6 0111.1 36096 26192 Accepted 100
70 4 6 0102.7 38392 27344 Accepted 100
71 3 5 6 0008.2 28864 8388 Accepted 100
72 5 6 0132.2 34808 24936 Accepted 100
73 4 6 0193.8 48036 44396 Accepted 100
74 4 6 0200.5 48040 44460 Accepted 100
75 4 6 0201.7 48036 44388 Accepted 100
76 6 0269.9 36912 33236 Accepted 100
77 6 0264.0 36916 33256 Accepted 100
78 6 0250.2 36912 33280 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.13 KB
Back to Top