Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1562
15156
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 0~31 輸入滿足 $m, n \le 1000$ 11 / 11
3 0~61 輸入滿足 $m, n \le 10^ 5$ 41 / 41
4 0~91 無額外限制 48 / 48

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0002.6 6212 3484 Accepted 100
1 1 2 3 4 0002.5 6212 3548 Accepted 100
2 2 3 4 0002.5 6212 3432 Accepted 100
3 2 3 4 0002.7 6212 3412 Accepted 100
4 2 3 4 0002.6 6212 3580 Accepted 100
5 2 3 4 0002.5 6212 3524 Accepted 100
6 2 3 4 0002.7 6212 3608 Accepted 100
7 2 3 4 0002.5 6212 3456 Accepted 100
8 2 3 4 0002.6 6212 3540 Accepted 100
9 2 3 4 0002.6 6212 3584 Accepted 100
10 2 3 4 0002.5 6212 3412 Accepted 100
11 2 3 4 0002.6 6212 3544 Accepted 100
12 2 3 4 0002.6 6212 3516 Accepted 100
13 2 3 4 0002.6 6212 3520 Accepted 100
14 2 3 4 0002.5 6212 3520 Accepted 100
15 2 3 4 0002.8 6212 3548 Accepted 100
16 2 3 4 0002.6 6212 3512 Accepted 100
17 2 3 4 0002.6 6212 3500 Accepted 100
18 2 3 4 0002.7 6212 3460 Accepted 100
19 2 3 4 0002.5 6212 3580 Accepted 100
20 2 3 4 0002.7 6212 3572 Accepted 100
21 2 3 4 0002.7 6212 3548 Accepted 100
22 2 3 4 0002.7 6212 3616 Accepted 100
23 2 3 4 0002.7 6212 3568 Accepted 100
24 2 3 4 0002.7 6212 3540 Accepted 100
25 2 3 4 0002.5 6212 3476 Accepted 100
26 2 3 4 0002.6 6212 3416 Accepted 100
27 2 3 4 0002.6 6212 3564 Accepted 100
28 2 3 4 0002.7 6212 3516 Accepted 100
29 2 3 4 0002.6 6212 3552 Accepted 100
30 2 3 4 0002.8 6212 3568 Accepted 100
31 2 3 4 0002.6 6212 3572 Accepted 100
32 3 4 0008.5 6344 3660 Accepted 100
33 3 4 0005.4 6872 4132 Accepted 100
34 3 4 0005.3 6608 3992 Accepted 100
35 3 4 0005.4 6740 4048 Accepted 100
36 3 4 0027.5 10304 7560 Accepted 100
37 3 4 0010.3 7268 4592 Accepted 100
38 3 4 0007.6 7400 4668 Accepted 100
39 3 4 0003.6 6344 3744 Accepted 100
40 3 4 0002.6 6212 3560 Accepted 100
41 3 4 0025.7 9644 6960 Accepted 100
42 3 4 0018.3 7532 4904 Accepted 100
43 3 4 0040.7 12416 9588 Accepted 100
44 3 4 0027.6 8324 5548 Accepted 100
45 3 4 0033.7 10700 8004 Accepted 100
46 3 4 0028.8 8984 6260 Accepted 100
47 3 4 0021.7 7532 4808 Accepted 100
48 3 4 0027.5 9380 6504 Accepted 100
49 3 4 0015.8 7928 5192 Accepted 100
50 3 4 0005.0 6476 3852 Accepted 100
51 3 4 0013.3 7796 5028 Accepted 100
52 3 4 0015.4 9248 6520 Accepted 100
53 3 4 0015.6 9116 6524 Accepted 100
54 3 4 0030.4 11624 8968 Accepted 100
55 3 4 0010.6 8060 5220 Accepted 100
56 3 4 0012.2 8456 5812 Accepted 100
57 3 4 0003.7 6476 3768 Accepted 100
58 3 4 0015.3 9116 6480 Accepted 100
59 3 4 0021.0 10172 7564 Accepted 100
60 3 4 0006.7 7136 4540 Accepted 100
61 3 4 0037.8 12416 9748 Accepted 100
62 4 0058.1 14660 12056 Accepted 100
63 4 0024.6 9776 7004 Accepted 100
64 4 0015.9 7004 4364 Accepted 100
65 4 0015.1 7664 5060 Accepted 100
66 4 0006.9 7004 4324 Accepted 100
67 4 0078.5 17828 15156 Accepted 100
68 4 0040.2 11756 9076 Accepted 100
69 4 0005.4 6740 4040 Accepted 100
70 4 0005.3 6740 4084 Accepted 100
71 4 0017.1 7664 4920 Accepted 100
72 4 0004.6 6212 3552 Accepted 100
73 4 0033.2 10964 8148 Accepted 100
74 4 0007.1 6740 4144 Accepted 100
75 4 0016.3 7004 4436 Accepted 100
76 4 0074.3 16772 14140 Accepted 100
77 4 0064.0 15320 12544 Accepted 100
78 4 0046.3 9908 7144 Accepted 100
79 4 0057.3 13736 11008 Accepted 100
80 4 0035.6 8720 6064 Accepted 100
81 4 0005.0 6608 3816 Accepted 100
82 4 0004.4 6608 3860 Accepted 100
83 4 0034.4 11492 8724 Accepted 100
84 4 0046.5 12944 10248 Accepted 100
85 4 0037.7 11756 9252 Accepted 100
86 4 0076.4 17168 14444 Accepted 100
87 4 0014.1 8192 5544 Accepted 100
88 4 0029.6 10568 7704 Accepted 100
89 4 0023.1 9644 6968 Accepted 100
90 4 0061.8 15188 12404 Accepted 100
91 4 0036.8 11888 9080 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
709 Bytes
Back to Top