Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

514
4020
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.5 6216 3572 Accepted 100
1 1 2 3 4 0002.6 6216 3492 Accepted 100
2 2 3 4 0002.6 6216 3632 Accepted 100
3 2 3 4 0002.4 6216 3552 Accepted 100
4 2 3 4 0002.6 6216 3704 Accepted 100
5 2 3 4 0002.5 6216 3600 Accepted 100
6 2 3 4 0002.6 6216 3596 Accepted 100
7 2 3 4 0002.5 6216 3580 Accepted 100
8 2 3 4 0002.5 6216 3496 Accepted 100
9 2 3 4 0002.4 6216 3596 Accepted 100
10 2 3 4 0002.4 6216 3596 Accepted 100
11 2 3 4 0002.4 6216 3412 Accepted 100
12 2 3 4 0002.4 6216 3580 Accepted 100
13 2 3 4 0002.5 6216 3640 Accepted 100
14 2 3 4 0002.5 6216 3580 Accepted 100
15 2 3 4 0002.5 6216 3564 Accepted 100
16 2 3 4 0002.5 6216 3596 Accepted 100
17 2 3 4 0002.5 6216 3576 Accepted 100
18 2 3 4 0002.6 6216 3552 Accepted 100
19 2 3 4 0002.4 6216 3576 Accepted 100
20 2 3 4 0002.5 6216 3568 Accepted 100
21 2 3 4 0002.5 6216 3596 Accepted 100
22 2 3 4 0002.6 6216 3644 Accepted 100
23 2 3 4 0002.5 6216 3580 Accepted 100
24 2 3 4 0002.5 6216 3504 Accepted 100
25 2 3 4 0002.5 6216 3596 Accepted 100
26 2 3 4 0002.5 6216 3568 Accepted 100
27 2 3 4 0002.4 6216 3576 Accepted 100
28 2 3 4 0002.5 6216 3504 Accepted 100
29 2 3 4 0002.7 6216 3564 Accepted 100
30 2 3 4 0002.5 6216 3600 Accepted 100
31 2 3 4 0002.5 6216 3596 Accepted 100
32 3 4 0005.4 6504 3764 Accepted 100
33 3 4 0003.3 6216 3692 Accepted 100
34 3 4 0003.3 6216 3640 Accepted 100
35 3 4 0003.2 6216 3556 Accepted 100
36 3 4 0009.1 6732 3764 Accepted 100
37 3 4 0004.7 6348 3604 Accepted 100
38 3 4 0003.7 6216 3608 Accepted 100
39 3 4 0002.8 6216 3428 Accepted 100
40 3 4 0002.5 6216 3584 Accepted 100
41 3 4 0008.6 6732 3968 Accepted 100
42 3 4 0007.3 6520 3760 Accepted 100
43 3 4 0012.2 7000 3900 Accepted 100
44 3 4 0008.6 6736 3852 Accepted 100
45 3 4 0010.3 6788 3892 Accepted 100
46 3 4 0008.9 6736 3836 Accepted 100
47 3 4 0008.0 6716 3828 Accepted 100
48 3 4 0008.7 6728 3844 Accepted 100
49 3 4 0005.8 6508 3672 Accepted 100
50 3 4 0003.4 6216 3660 Accepted 100
51 3 4 0005.4 6356 3852 Accepted 100
52 3 4 0005.5 6360 3628 Accepted 100
53 3 4 0005.5 6356 3788 Accepted 100
54 3 4 0009.4 6740 3864 Accepted 100
55 3 4 0004.4 6348 3836 Accepted 100
56 3 4 0004.7 6348 3744 Accepted 100
57 3 4 0002.7 6216 3612 Accepted 100
58 3 4 0005.6 6356 3864 Accepted 100
59 3 4 0007.0 6508 3764 Accepted 100
60 3 4 0003.5 6216 3472 Accepted 100
61 3 4 0011.9 7000 3972 Accepted 100
62 4 0013.0 6756 3836 Accepted 100
63 4 0006.7 6504 3892 Accepted 100
64 4 0007.5 6524 3792 Accepted 100
65 4 0006.0 6360 3804 Accepted 100
66 4 0003.5 6216 3656 Accepted 100
67 4 0015.2 6996 4020 Accepted 100
68 4 0009.6 6704 3812 Accepted 100
69 4 0003.1 6216 3612 Accepted 100
70 4 0003.1 6216 3636 Accepted 100
71 4 0006.8 6492 3740 Accepted 100
72 4 0004.9 6348 3760 Accepted 100
73 4 0007.8 6504 3800 Accepted 100
74 4 0004.0 6216 3732 Accepted 100
75 4 0007.5 6520 3768 Accepted 100
76 4 0015.6 6996 3892 Accepted 100
77 4 0013.2 6804 3968 Accepted 100
78 4 0013.9 6996 3992 Accepted 100
79 4 0012.5 6792 3900 Accepted 100
80 4 0012.8 6816 3932 Accepted 100
81 4 0003.3 6216 3732 Accepted 100
82 4 0003.0 6216 3620 Accepted 100
83 4 0007.6 6516 3576 Accepted 100
84 4 0009.2 6560 3796 Accepted 100
85 4 0008.1 6528 3592 Accepted 100
86 4 0013.4 6832 3996 Accepted 100
87 4 0004.6 6348 3628 Accepted 100
88 4 0007.1 6484 3744 Accepted 100
89 4 0006.0 6356 3800 Accepted 100
90 4 0011.6 6772 3896 Accepted 100
91 4 0008.0 6528 3820 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.52 KB
Back to Top