Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13387
49404
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 35944 8400 Accepted 100
1 2 3 6 0008.8 35944 8344 Accepted 100
2 2 3 6 0009.2 35944 8376 Accepted 100
3 2 3 6 0008.7 35944 8388 Accepted 100
4 2 3 4 6 0008.7 35944 8508 Accepted 100
5 2 3 6 0008.6 35944 8484 Accepted 100
6 2 3 6 0008.5 35944 8456 Accepted 100
7 2 3 6 0008.5 35944 8448 Accepted 100
8 2 3 6 0009.2 35944 8492 Accepted 100
9 2 3 6 0008.9 35944 8496 Accepted 100
10 2 3 6 0008.7 35944 8344 Accepted 100
11 3 6 0010.9 36076 8840 Accepted 100
12 3 4 6 0011.7 36076 8968 Accepted 100
13 3 6 0011.0 36076 8804 Accepted 100
14 3 6 0009.8 36076 8704 Accepted 100
15 3 6 0011.5 36076 8912 Accepted 100
16 3 6 0009.8 36076 8736 Accepted 100
17 3 6 0011.3 36076 8852 Accepted 100
18 3 6 0012.7 36096 9012 Accepted 100
19 3 6 0010.2 35944 8648 Accepted 100
20 3 4 6 0011.5 36088 9040 Accepted 100
21 4 6 0224.5 50888 47476 Accepted 100
22 4 6 0119.0 44976 32092 Accepted 100
23 4 6 0166.3 48580 41572 Accepted 100
24 4 6 0146.3 44752 31688 Accepted 100
25 4 6 0151.6 47432 38840 Accepted 100
26 4 6 0129.7 45792 34652 Accepted 100
27 4 6 0179.6 49396 43996 Accepted 100
28 4 6 0106.9 44048 29856 Accepted 100
29 4 6 0141.1 45716 34180 Accepted 100
30 4 6 0169.5 46964 37272 Accepted 100
31 5 6 0182.7 42020 33608 Accepted 100
32 5 6 0123.7 39924 26040 Accepted 100
33 5 6 0177.2 39640 26588 Accepted 100
34 5 6 0155.1 39376 24920 Accepted 100
35 5 6 0226.8 40564 31348 Accepted 100
36 5 6 0322.1 42280 39280 Accepted 100
37 4 5 6 0253.4 48108 40556 Accepted 100
38 4 5 6 0255.8 48432 41540 Accepted 100
39 5 6 0217.8 42944 38376 Accepted 100
40 5 6 0162.0 41612 31076 Accepted 100
41 5 6 0207.7 40168 29176 Accepted 100
42 5 6 0298.2 41752 36840 Accepted 100
43 5 6 0202.3 40036 28620 Accepted 100
44 5 6 0201.6 40168 29188 Accepted 100
45 5 6 0205.5 42376 31512 Accepted 100
46 4 5 6 0309.8 50696 47204 Accepted 100
47 5 6 0176.8 41756 32880 Accepted 100
48 5 6 0133.2 40188 26932 Accepted 100
49 5 6 0311.0 41884 37560 Accepted 100
50 5 6 0291.7 41356 35120 Accepted 100
51 6 0276.0 41488 36212 Accepted 100
52 6 0312.8 42676 39928 Accepted 100
53 6 0239.2 45568 37664 Accepted 100
54 4 6 0264.8 49024 42972 Accepted 100
55 6 0129.2 39660 24336 Accepted 100
56 6 0185.1 41612 30900 Accepted 100
57 6 0246.5 40960 32572 Accepted 100
58 6 0196.3 40036 28632 Accepted 100
59 6 0317.9 42016 39036 Accepted 100
60 6 0200.2 40564 30272 Accepted 100
61 4 6 0295.5 50340 46336 Accepted 100
62 4 6 0188.5 45408 33392 Accepted 100
63 6 0275.8 43208 39940 Accepted 100
64 6 0262.2 43076 39120 Accepted 100
65 6 0326.9 42280 39532 Accepted 100
66 6 0193.7 40168 28852 Accepted 100
67 6 0201.8 40300 29748 Accepted 100
68 6 0206.9 40300 29964 Accepted 100
69 6 0176.6 42264 29584 Accepted 100
70 4 6 0155.1 43980 29512 Accepted 100
71 3 5 6 0009.0 35944 8600 Accepted 100
72 5 6 0172.6 40828 30224 Accepted 100
73 4 6 0390.7 51924 49404 Accepted 100
74 4 6 0374.6 51928 49316 Accepted 100
75 4 6 0372.8 51924 49316 Accepted 100
76 6 0419.5 43204 40760 Accepted 100
77 6 0422.8 43204 40788 Accepted 100
78 6 0418.9 43204 40724 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.76 KB
Back to Top