Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

74642
5816
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 0~28 $n, m \leq 20$ 10 / 10
3 0~59 $n \leq 50, m \leq 300$ 35 / 35
4 0~92 $n \leq 500, m \leq 3000$ 45 / 45
5 0~126 無額外限制 10 / 10

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 0001.9 7892 4664 Accepted 100
1 1 2 3 4 5 0001.5 7836 4456 Accepted 100
2 2 3 4 5 0002.2 7832 4520 Accepted 100
3 2 3 4 5 0001.7 7892 4596 Accepted 100
4 2 3 4 5 0001.9 7892 4664 Accepted 100
5 2 3 4 5 0001.8 7836 4524 Accepted 100
6 2 3 4 5 0001.8 7832 4544 Accepted 100
7 2 3 4 5 0001.8 7836 4528 Accepted 100
8 2 3 4 5 0002.4 7836 4576 Accepted 100
9 2 3 4 5 0001.7 7828 4520 Accepted 100
10 2 3 4 5 0001.7 7836 4492 Accepted 100
11 2 3 4 5 0001.7 7836 4596 Accepted 100
12 2 3 4 5 0001.7 7832 4548 Accepted 100
13 2 3 4 5 0002.5 7832 4508 Accepted 100
14 2 3 4 5 0001.7 7836 4524 Accepted 100
15 2 3 4 5 0001.8 7832 4660 Accepted 100
16 2 3 4 5 0002.3 7892 4584 Accepted 100
17 2 3 4 5 0001.7 7888 4444 Accepted 100
18 2 3 4 5 0001.8 7892 4616 Accepted 100
19 2 3 4 5 0001.7 7892 4448 Accepted 100
20 2 3 4 5 0001.8 7888 4612 Accepted 100
21 2 3 4 5 0001.9 7892 4580 Accepted 100
22 2 3 4 5 0001.7 7832 4548 Accepted 100
23 2 3 4 5 0001.8 7832 4592 Accepted 100
24 2 3 4 5 0001.8 7888 4436 Accepted 100
25 2 3 4 5 0002.2 7832 4584 Accepted 100
26 2 3 4 5 0002.3 7828 4568 Accepted 100
27 2 3 4 5 0001.8 7832 4544 Accepted 100
28 2 3 4 5 0001.8 7892 4592 Accepted 100
29 3 4 5 0002.4 7888 4656 Accepted 100
30 3 4 5 0002.5 7892 4632 Accepted 100
31 3 4 5 0003.4 7892 4748 Accepted 100
32 3 4 5 0003.3 7888 4628 Accepted 100
33 3 4 5 0004.1 7888 4596 Accepted 100
34 3 4 5 0003.0 7828 4568 Accepted 100
35 3 4 5 0003.0 7892 4632 Accepted 100
36 3 4 5 0003.1 7892 4596 Accepted 100
37 3 4 5 0002.2 7892 4660 Accepted 100
38 3 4 5 0002.4 7892 4632 Accepted 100
39 3 4 5 0002.2 7892 4596 Accepted 100
40 3 4 5 0002.3 7832 4532 Accepted 100
41 3 4 5 0002.1 7828 4528 Accepted 100
42 3 4 5 0002.2 7892 4596 Accepted 100
43 3 4 5 0003.3 7836 4556 Accepted 100
44 3 4 5 0002.3 7836 4524 Accepted 100
45 3 4 5 0002.2 7888 4668 Accepted 100
46 3 4 5 0001.9 7832 4528 Accepted 100
47 3 4 5 0002.0 7836 4596 Accepted 100
48 3 4 5 0002.1 7896 4464 Accepted 100
49 3 4 5 0002.1 7888 4548 Accepted 100
50 3 4 5 0002.4 7892 4540 Accepted 100
51 3 4 5 0002.3 7836 4540 Accepted 100
52 3 4 5 0002.4 7896 4600 Accepted 100
53 3 4 5 0002.6 7888 4608 Accepted 100
54 3 4 5 0002.2 7836 4676 Accepted 100
55 3 4 5 0002.3 7892 4636 Accepted 100
56 3 4 5 0002.0 7828 4552 Accepted 100
57 3 4 5 0003.4 7892 4632 Accepted 100
58 3 4 5 0003.4 7888 4608 Accepted 100
59 3 4 5 0002.5 7896 4752 Accepted 100
60 4 5 0026.3 7892 4740 Accepted 100
61 4 5 0026.3 7892 4748 Accepted 100
62 4 5 0026.1 7900 4784 Accepted 100
63 4 5 0022.9 7892 4712 Accepted 100
64 4 5 0024.5 7896 4780 Accepted 100
65 4 5 0026.1 7896 4716 Accepted 100
66 4 5 0025.9 7896 4716 Accepted 100
67 4 5 0018.7 7892 4768 Accepted 100
68 4 5 0018.9 7892 4744 Accepted 100
69 4 5 0015.3 7836 4604 Accepted 100
70 4 5 0022.0 7892 4572 Accepted 100
71 4 5 0019.2 7892 4656 Accepted 100
72 4 5 0002.4 7836 4608 Accepted 100
73 4 5 0016.7 7892 4560 Accepted 100
74 4 5 0022.4 7888 4848 Accepted 100
75 4 5 0032.1 7896 4720 Accepted 100
76 4 5 0022.0 7896 4720 Accepted 100
77 4 5 0016.9 7832 4632 Accepted 100
78 4 5 0016.5 7888 4672 Accepted 100
79 4 5 0006.9 7836 4540 Accepted 100
80 4 5 0010.4 7892 4648 Accepted 100
81 4 5 0018.8 7892 4752 Accepted 100
82 4 5 0018.4 7888 4744 Accepted 100
83 4 5 0024.7 7896 4708 Accepted 100
84 4 5 0024.9 7892 4852 Accepted 100
85 4 5 0021.6 7892 4768 Accepted 100
86 4 5 0024.5 7892 4648 Accepted 100
87 4 5 0036.9 7888 4564 Accepted 100
88 4 5 0026.2 7900 4732 Accepted 100
89 4 5 0027.1 7900 4720 Accepted 100
90 4 5 0025.8 7900 4800 Accepted 100
91 4 5 0026.7 7896 4748 Accepted 100
92 4 5 0026.3 7900 4668 Accepted 100
93 5 2890.4 8448 5800 Accepted 100
94 5 2911.9 8468 5756 Accepted 100
95 5 2905.2 8460 5792 Accepted 100
96 5 2436.6 8296 5664 Accepted 100
97 5 2688.3 8456 5816 Accepted 100
98 5 2853.0 8428 5764 Accepted 100
99 5 2836.3 8292 5704 Accepted 100
100 5 1996.4 8292 5608 Accepted 100
101 5 2096.1 8288 5636 Accepted 100
102 5 0901.0 8100 5224 Accepted 100
103 5 2502.0 8288 5652 Accepted 100
104 5 2094.5 8292 5648 Accepted 100
105 5 0011.6 7968 4936 Accepted 100
106 5 1794.8 8288 5576 Accepted 100
107 5 2433.3 8292 5736 Accepted 100
108 5 2313.9 8424 5672 Accepted 100
109 5 2427.0 8292 5652 Accepted 100
110 5 1793.9 8364 5476 Accepted 100
111 5 1793.7 8288 5440 Accepted 100
112 5 0331.7 8028 5000 Accepted 100
113 5 0558.5 8164 5072 Accepted 100
114 5 1310.7 8160 5384 Accepted 100
115 5 1258.8 8156 5276 Accepted 100
116 5 1798.1 8288 5424 Accepted 100
117 5 2468.1 8288 5664 Accepted 100
118 5 2339.1 8292 5604 Accepted 100
119 5 2469.9 8292 5668 Accepted 100
120 5 2375.5 8292 5664 Accepted 100
121 5 2782.8 8420 5704 Accepted 100
122 5 2844.8 8428 5812 Accepted 100
123 5 2865.3 8424 5712 Accepted 100
124 5 2924.3 8492 5752 Accepted 100
125 5 2908.1 8428 5776 Accepted 100
126 5 2872.4 8464 5716 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.55 KB
Back to Top