Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

772
5612
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 3500 Accepted 100
1 1 2 3 4 0002.5 6212 3620 Accepted 100
2 2 3 4 0002.6 6212 3480 Accepted 100
3 2 3 4 0002.6 6212 3508 Accepted 100
4 2 3 4 0002.7 6212 3488 Accepted 100
5 2 3 4 0002.5 6212 3532 Accepted 100
6 2 3 4 0002.7 6212 3540 Accepted 100
7 2 3 4 0002.5 6212 3536 Accepted 100
8 2 3 4 0002.5 6212 3540 Accepted 100
9 2 3 4 0002.6 6212 3392 Accepted 100
10 2 3 4 0002.5 6212 3516 Accepted 100
11 2 3 4 0002.5 6212 3528 Accepted 100
12 2 3 4 0002.7 6212 3472 Accepted 100
13 2 3 4 0002.6 6212 3556 Accepted 100
14 2 3 4 0002.6 6212 3528 Accepted 100
15 2 3 4 0002.5 6212 3544 Accepted 100
16 2 3 4 0002.4 6212 3476 Accepted 100
17 2 3 4 0002.6 6212 3548 Accepted 100
18 2 3 4 0002.6 6212 3496 Accepted 100
19 2 3 4 0002.6 6212 3388 Accepted 100
20 2 3 4 0002.5 6212 3552 Accepted 100
21 2 3 4 0002.6 6212 3532 Accepted 100
22 2 3 4 0002.5 6212 3472 Accepted 100
23 2 3 4 0002.7 6212 3668 Accepted 100
24 2 3 4 0002.7 6212 3548 Accepted 100
25 2 3 4 0002.6 6212 3476 Accepted 100
26 2 3 4 0002.8 6212 3556 Accepted 100
27 2 3 4 0002.6 6212 3516 Accepted 100
28 2 3 4 0002.7 6212 3496 Accepted 100
29 2 3 4 0002.6 6212 3532 Accepted 100
30 2 3 4 0002.5 6212 3408 Accepted 100
31 2 3 4 0002.6 6212 3508 Accepted 100
32 3 4 0008.8 7144 3952 Accepted 100
33 3 4 0003.9 6400 3532 Accepted 100
34 3 4 0004.0 6404 3496 Accepted 100
35 3 4 0004.0 6404 3684 Accepted 100
36 3 4 0016.4 8036 4356 Accepted 100
37 3 4 0007.7 7120 3820 Accepted 100
38 3 4 0004.8 6684 3696 Accepted 100
39 3 4 0003.1 6388 3556 Accepted 100
40 3 4 0002.7 6212 3496 Accepted 100
41 3 4 0015.9 8036 4368 Accepted 100
42 3 4 0011.8 7964 4292 Accepted 100
43 3 4 0022.8 9708 5520 Accepted 100
44 3 4 0016.6 8040 4380 Accepted 100
45 3 4 0020.0 9628 5504 Accepted 100
46 3 4 0016.0 8040 4408 Accepted 100
47 3 4 0015.6 8020 4308 Accepted 100
48 3 4 0015.5 8032 4484 Accepted 100
49 3 4 0008.9 7148 3868 Accepted 100
50 3 4 0004.1 6404 3624 Accepted 100
51 3 4 0008.5 7128 3872 Accepted 100
52 3 4 0007.9 7132 3940 Accepted 100
53 3 4 0007.8 7128 3900 Accepted 100
54 3 4 0015.2 8044 4380 Accepted 100
55 3 4 0005.4 6704 3524 Accepted 100
56 3 4 0006.7 7104 3936 Accepted 100
57 3 4 0002.8 6384 3444 Accepted 100
58 3 4 0007.7 7128 3960 Accepted 100
59 3 4 0010.7 7952 4284 Accepted 100
60 3 4 0004.2 6672 3616 Accepted 100
61 3 4 0021.2 9708 5520 Accepted 100
62 4 0019.1 9596 5448 Accepted 100
63 4 0009.8 7144 3732 Accepted 100
64 4 0013.6 7968 4336 Accepted 100
65 4 0009.6 7132 3836 Accepted 100
66 4 0004.3 6404 3660 Accepted 100
67 4 0024.7 9704 5548 Accepted 100
68 4 0015.1 8008 4432 Accepted 100
69 4 0003.6 6392 3616 Accepted 100
70 4 0003.8 6396 3676 Accepted 100
71 4 0011.0 7936 4360 Accepted 100
72 4 0005.8 6696 3816 Accepted 100
73 4 0012.2 7948 4284 Accepted 100
74 4 0005.2 6684 3680 Accepted 100
75 4 0013.7 7964 4300 Accepted 100
76 4 0025.2 9704 5612 Accepted 100
77 4 0021.7 9644 5408 Accepted 100
78 4 0025.5 9704 5500 Accepted 100
79 4 0021.2 9632 5392 Accepted 100
80 4 0023.2 9656 5504 Accepted 100
81 4 0003.7 6392 3772 Accepted 100
82 4 0003.2 6384 3640 Accepted 100
83 4 0011.0 7960 4256 Accepted 100
84 4 0013.0 8004 4336 Accepted 100
85 4 0011.5 7972 4424 Accepted 100
86 4 0020.2 9672 5424 Accepted 100
87 4 0005.5 6700 3700 Accepted 100
88 4 0009.5 7928 4260 Accepted 100
89 4 0012.8 7128 3960 Accepted 100
90 4 0017.3 9612 5360 Accepted 100
91 4 0011.6 7972 4364 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.41 KB
Back to Top