QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#438936 | #8726. Magic Show | Opuntia9622 | 0 | 2ms | 1868kb | C++23 | 2.4kb | 2024-06-11 12:14:02 | 2024-06-11 12:14:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1860kb
input:
1 4005
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
2 4980 3726 1 3433 3 1932 4 4902 5 3814 6 2048 7 2842 8 4294 9 136 11 738 13 414 14 1690 15 3138 16 4388 17 772 18 4310 19 4682 20 2448 21 1812 22 428 23 1932 24 2454 26 3542 28 4630 32 3228 33 4408 34 815 34 857 34 1072 34 1152 34 1959 34 2271 34 2505 34 2619 34 2626 34 2698 34 2782 34 3126 34 3539...
input:
2 4980 3726 1 3433 3 1932 4 4902 5 3814 6 2048 7 2842 8 4294 9 136 11 738 13 414 14 1690 15 3138 16 4388 17 772 18 4310 19 4682 20 2448 21 1812 22 428 23 1932 24 2454 26 3542 28 4630 32 3228 33 4408 34 815 34 857 34 1072 34 1152 34 1959 34 2271 34 2505 34 2619 34 2626 34 2698 34 2782 34 3126 34 3539...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 4005
Test #2:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1852kb,1860kb
input:
1 459
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
2 4980 3726 1 4494 2 1056 4 3840 5 2900 6 562 7 940 8 1118 10 383 10 420 10 589 10 784 10 945 10 1408 10 1608 10 1724 10 2596 10 3220 10 3385 10 3466 10 3933 10 3968 10 4152 11 2436 12 2930 13 124 14 856 15 478 16 151 16 596 16 710 16 832 16 842 16 917 16 1160 16 1676 16 1770 16 2065 16 2145 16 2266...
input:
2 4980 3726 1 4494 2 1056 4 3840 5 2900 6 562 7 940 8 1118 10 383 10 420 10 589 10 784 10 945 10 1408 10 1608 10 1724 10 2596 10 3220 10 3385 10 3466 10 3933 10 3968 10 4152 11 2436 12 2930 13 124 14 856 15 478 16 151 16 596 16 710 16 832 16 842 16 917 16 1160 16 1676 16 1770 16 2065 16 2145 16 2266...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 459
Test #3:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1868kb
input:
1 2495
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
2 4980 3726 1 3050 4 2576 5 1704 7 1214 8 2558 10 145 10 429 10 799 10 1134 10 1186 10 1298 10 1367 10 1608 10 2130 10 2172 10 3099 10 3657 12 4538 13 3064 15 1242 17 3950 18 1704 19 2914 20 384 21 3260 22 426 23 4560 24 2554 26 4272 28 194 31 4412 32 4762 34 3126 35 1226 36 4111 37 3064 40 3669 41 ...
input:
2 4980 3726 1 3050 4 2576 5 1704 7 1214 8 2558 10 145 10 429 10 799 10 1134 10 1186 10 1298 10 1367 10 1608 10 2130 10 2172 10 3099 10 3657 12 4538 13 3064 15 1242 17 3950 18 1704 19 2914 20 384 21 3260 22 426 23 4560 24 2554 26 4272 28 194 31 4412 32 4762 34 3126 35 1226 36 4111 37 3064 40 3669 41 ...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 2495
Test #4:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1852kb,1844kb
input:
3 1560
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
4 4980 2490 2 3074 3 3368 4 1938 5 1848 8 1178 9 4682 17 4716 20 2202 21 1964 22 3844 24 1102 26 1234 28 706 30 3158 31 1924 35 3154 38 2746 39 1790 41 2932 44 2042 45 2580 49 1756 50 53 50 79 50 404 50 673 50 894 50 1294 50 1690 50 2070 50 2303 50 2562 50 2915 50 3115 50 3251 50 3543 50 4000 50 408...
input:
4 4980 2490 2 3074 3 3368 4 1938 5 1848 8 1178 9 4682 17 4716 20 2202 21 1964 22 3844 24 1102 26 1234 28 706 30 3158 31 1924 35 3154 38 2746 39 1790 41 2932 44 2042 45 2580 49 1756 50 53 50 79 50 404 50 673 50 894 50 1294 50 1690 50 2070 50 2303 50 2562 50 2915 50 3115 50 3251 50 3543 50 4000 50 408...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 1560
Test #5:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1844kb
input:
3 3594
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
4 4980 2490 2 4252 3 1892 4 1536 7 894 8 4262 10 3534 11 4108 12 449 12 641 12 938 12 1129 12 1746 12 2045 12 2265 12 2316 12 2652 12 3085 12 3272 12 3491 12 3601 12 3676 12 3775 12 3897 12 3999 12 4229 12 4571 13 4468 15 4830 17 1598 18 1848 20 1466 23 830 24 4342 25 4900 26 2164 27 3718 28 2610 29...
input:
4 4980 2490 2 4252 3 1892 4 1536 7 894 8 4262 10 3534 11 4108 12 449 12 641 12 938 12 1129 12 1746 12 2045 12 2265 12 2316 12 2652 12 3085 12 3272 12 3491 12 3601 12 3676 12 3775 12 3897 12 3999 12 4229 12 4571 13 4468 15 4830 17 1598 18 1848 20 1466 23 830 24 4342 25 4900 26 2164 27 3718 28 2610 29...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 3594
Test #6:
score: 5
Accepted
time: 1ms = 1ms + 0ms
memory: 1852kb,1844kb
input:
3 1750
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
4 4980 2490 1 4085 5 18 9 2804 10 2482 11 3614 12 3546 13 2996 16 2200 17 3950 18 58 18 883 18 888 18 911 18 999 18 1145 18 1324 18 1799 18 2335 18 2599 18 2819 18 2973 18 3143 18 3291 18 3621 18 3923 18 4600 18 4752 21 3624 22 1838 30 3021 31 1714 32 2334 33 4775 35 3316 36 2950 37 2996 38 320 38 3...
input:
4 4980 2490 1 4085 5 18 9 2804 10 2482 11 3614 12 3546 13 2996 16 2200 17 3950 18 58 18 883 18 888 18 911 18 999 18 1145 18 1324 18 1799 18 2335 18 2599 18 2819 18 2973 18 3143 18 3291 18 3621 18 3923 18 4600 18 4752 21 3624 22 1838 30 3021 31 1714 32 2334 33 4775 35 3316 36 2950 37 2996 38 320 38 3...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 1750
Test #7:
score: 0
Wrong Answer
time: 0ms = 0ms + 0ms
memory: 1856kb,1844kb
input:
5 4878
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 5 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 5 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
6 4980 2713 1 457 1 544 1 1147 1 1293 1 1493 1 1816 1 2047 1 2101 1 3050 1 3132 1 3300 1 3304 1 3433 1 3798 1 3827 1 3863 1 3909 1 3991 1 4163 1 4291 1 4884 6 1562 7 178 9 666 10 1608 11 534 13 4958 14 178 16 2266 17 2292 21 1204 23 1230 24 4848 25 2180 26 2656 27 832 28 438 29 712 30 3208 31 3052 3...
input:
6 4980 2713 1 457 1 544 1 1147 1 1293 1 1493 1 1816 1 2047 1 2101 1 3050 1 3132 1 3300 1 3304 1 3433 1 3798 1 3827 1 3863 1 3909 1 3991 1 4163 1 4291 1 4884 6 1562 7 178 9 666 10 1608 11 534 13 4958 14 178 16 2266 17 2292 21 1204 23 1230 24 4848 25 2180 26 2656 27 832 28 438 29 712 30 3208 31 3052 3...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 4870
Subtask #2:
score: 0
Wrong Answer
Test #13:
score: 30
Accepted
time: 0ms = 0ms + 0ms
memory: 1856kb,1864kb
input:
1 17476204
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 1 1065 2 4941 3 1932 4 61 6 2268 7 3219 9 794 10 1364 11 3642 12 3384 13 1834 14 3251 15 2276 16 4850 17 788 18 4436 19 794 20 340 21 1788 22 3350 23 3368 24 4372 25 32 28 3448 29 3098 30 3196 31 964 32 81 32 524 32 1471 32 1664 32 1869 32 1975 32 2408 32 2685 32 2691 32 2917 32 3010 32 ...
input:
2 4980 3726 1 1065 2 4941 3 1932 4 61 6 2268 7 3219 9 794 10 1364 11 3642 12 3384 13 1834 14 3251 15 2276 16 4850 17 788 18 4436 19 794 20 340 21 1788 22 3350 23 3368 24 4372 25 32 28 3448 29 3098 30 3196 31 964 32 81 32 524 32 1471 32 1664 32 1869 32 1975 32 2408 32 2685 32 2691 32 2917 32 3010 32 ...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 17476204
Test #14:
score: 30
Accepted
time: 1ms = 1ms + 0ms
memory: 1860kb,1860kb
input:
1 11926600
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 1 1816 2 2701 3 3240 4 3794 6 4281 7 1294 8 3018 9 3578 11 3424 12 244 12 346 12 751 12 756 12 1592 12 3067 12 3546 12 3558 12 3601 12 3626 12 3947 12 4122 12 4488 12 4538 13 740 14 2612 16 4831 20 1674 21 4156 22 1546 23 3368 24 3424 25 3374 26 1456 27 2043 28 4558 29 4196 30 207 30 862...
input:
2 4980 3726 1 1816 2 2701 3 3240 4 3794 6 4281 7 1294 8 3018 9 3578 11 3424 12 244 12 346 12 751 12 756 12 1592 12 3067 12 3546 12 3558 12 3601 12 3626 12 3947 12 4122 12 4488 12 4538 13 740 14 2612 16 4831 20 1674 21 4156 22 1546 23 3368 24 3424 25 3374 26 1456 27 2043 28 4558 29 4196 30 207 30 862...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 11926600
Test #15:
score: 30
Accepted
time: 1ms = 1ms + 0ms
memory: 1852kb,1860kb
input:
1 16602378
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 1 4894 2 344 3 1932 5 439 5 572 5 718 5 888 5 911 5 1052 5 1192 5 1872 5 2397 5 2599 5 2785 5 2973 5 3254 5 3610 5 4109 5 4132 5 4555 5 4635 5 4641 6 2637 7 2407 8 298 9 2744 10 1186 13 4690 14 3289 15 4300 16 1979 17 4264 18 3081 19 1800 20 340 21 4156 22 106 23 1932 24 520 25 4358 27 3...
input:
2 4980 3726 1 4894 2 344 3 1932 5 439 5 572 5 718 5 888 5 911 5 1052 5 1192 5 1872 5 2397 5 2599 5 2785 5 2973 5 3254 5 3610 5 4109 5 4132 5 4555 5 4635 5 4641 6 2637 7 2407 8 298 9 2744 10 1186 13 4690 14 3289 15 4300 16 1979 17 4264 18 3081 19 1800 20 340 21 4156 22 106 23 1932 24 520 25 4358 27 3...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 16602378
Test #16:
score: 30
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1844kb
input:
3 13129243
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
4 4980 2490 4 1938 5 2599 7 2249 8 1178 11 4108 13 2522 15 1242 16 2200 20 384 21 1612 23 3396 24 4108 26 1422 27 892 28 3184 35 3585 36 3066 37 2522 38 2944 40 3669 41 3409 43 3422 44 1566 46 3914 47 3508 49 4146 52 3575 53 859 54 1968 56 3124 58 2599 60 1938 61 1938 62 1938 65 802 66 3066 67 864 6...
input:
4 4980 2490 4 1938 5 2599 7 2249 8 1178 11 4108 13 2522 15 1242 16 2200 20 384 21 1612 23 3396 24 4108 26 1422 27 892 28 3184 35 3585 36 3066 37 2522 38 2944 40 3669 41 3409 43 3422 44 1566 46 3914 47 3508 49 4146 52 3575 53 859 54 1968 56 3124 58 2599 60 1938 61 1938 62 1938 65 802 66 3066 67 864 6...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 13129243
Test #17:
score: 30
Accepted
time: 0ms = 0ms + 0ms
memory: 1856kb,1844kb
input:
3 7892141
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
4 4980 2490 5 3664 6 2268 7 3251 10 3968 11 396 13 1774 16 1054 17 2328 18 1848 20 4218 22 1852 26 352 27 1068 28 4862 29 2938 30 2681 34 947 37 1774 44 728 45 4792 46 2617 48 2256 50 2303 51 2534 54 184 55 2256 57 3466 58 3664 63 3664 66 4842 68 820 69 2839 70 786 71 745 75 3564 76 396 78 1330 80 2...
input:
4 4980 2490 5 3664 6 2268 7 3251 10 3968 11 396 13 1774 16 1054 17 2328 18 1848 20 4218 22 1852 26 352 27 1068 28 4862 29 2938 30 2681 34 947 37 1774 44 728 45 4792 46 2617 48 2256 50 2303 51 2534 54 184 55 2256 57 3466 58 3664 63 3664 66 4842 68 820 69 2839 70 786 71 745 75 3564 76 396 78 1330 80 2...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 7892141
Test #18:
score: 0
Wrong Answer
time: 1ms = 1ms + 0ms
memory: 1852kb,1844kb
input:
3 21314775
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
4 4980 2490 1 3050 2 1778 5 3814 9 2796 12 1882 13 1834 14 3250 15 1764 19 3198 22 1128 24 3498 25 3242 28 4862 34 2619 35 4928 37 3136 39 1834 41 1795 44 1344 47 900 48 2850 50 4402 51 3407 53 3250 55 1980 57 3972 58 718 60 1906 62 3516 63 718 64 4827 65 900 69 1851 70 1518 71 2619 72 1446 73 2470 ...
input:
4 4980 2490 1 3050 2 1778 5 3814 9 2796 12 1882 13 1834 14 3250 15 1764 19 3198 22 1128 24 3498 25 3242 28 4862 34 2619 35 4928 37 3136 39 1834 41 1795 44 1344 47 900 48 2850 50 4402 51 3407 53 3250 55 1980 57 3972 58 718 60 1906 62 3516 63 718 64 4827 65 900 69 1851 70 1518 71 2619 72 1446 73 2470 ...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 21312663
Subtask #3:
score: 0
Wrong Answer
Test #25:
score: 65
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1864kb
input:
1 355365355024496523
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
2 4980 3726 1 4763 2 137 2 440 2 560 2 931 2 1031 2 2453 2 2531 2 2716 2 3423 2 3712 2 4496 2 4698 2 4904 2 4941 3 1932 5 2599 7 2376 8 1087 10 3559 11 3548 13 4677 15 4686 16 2577 17 252 17 407 17 1113 17 1330 17 1503 17 1561 17 1803 17 2111 17 2431 17 2444 17 2621 17 3133 17 3275 17 3774 17 3950 1...
input:
2 4980 3726 1 4763 2 137 2 440 2 560 2 931 2 1031 2 2453 2 2531 2 2716 2 3423 2 3712 2 4496 2 4698 2 4904 2 4941 3 1932 5 2599 7 2376 8 1087 10 3559 11 3548 13 4677 15 4686 16 2577 17 252 17 407 17 1113 17 1330 17 1503 17 1561 17 1803 17 2111 17 2431 17 2444 17 2621 17 3133 17 3275 17 3774 17 3950 1...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 355365355024496523
Test #26:
score: 65
Accepted
time: 2ms = 1ms + 1ms
memory: 1852kb,1864kb
input:
1 727827999106414164
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 1 4163 5 2792 6 4380 7 2422 9 1885 11 4890 12 3676 13 952 15 3268 16 1126 17 3013 18 2792 20 2448 21 3850 24 3086 25 2912 26 2889 27 842 28 3849 29 339 30 3908 31 4581 32 2262 33 2025 34 1991 38 3411 39 3512 40 662 41 2919 42 3355 43 4120 44 2694 45 3411 46 4444 47 330 48 1962 49 2586 50...
input:
2 4980 3726 1 4163 5 2792 6 4380 7 2422 9 1885 11 4890 12 3676 13 952 15 3268 16 1126 17 3013 18 2792 20 2448 21 3850 24 3086 25 2912 26 2889 27 842 28 3849 29 339 30 3908 31 4581 32 2262 33 2025 34 1991 38 3411 39 3512 40 662 41 2919 42 3355 43 4120 44 2694 45 3411 46 4444 47 330 48 1962 49 2586 50...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 727827999106414164
Test #27:
score: 65
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1864kb
input:
1 656410143989222955
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
2 4980 3726 1 3293 3 2837 4 1776 5 1324 6 4380 7 1950 8 4262 9 369 10 3728 12 641 12 690 12 938 12 1746 12 3085 12 3272 12 3491 12 3601 12 3676 12 3775 12 4229 12 4571 13 62 13 1157 13 1351 13 1407 13 1545 13 1834 13 1999 13 2470 13 2679 13 3136 13 4046 13 4143 13 4690 13 4731 13 4773 14 998 15 1092...
input:
2 4980 3726 1 3293 3 2837 4 1776 5 1324 6 4380 7 1950 8 4262 9 369 10 3728 12 641 12 690 12 938 12 1746 12 3085 12 3272 12 3491 12 3601 12 3676 12 3775 12 4229 12 4571 13 62 13 1157 13 1351 13 1407 13 1545 13 1834 13 1999 13 2470 13 2679 13 3136 13 4046 13 4143 13 4690 13 4731 13 4773 14 998 15 1092...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 656410143989222955
Test #28:
score: 65
Accepted
time: 1ms = 1ms + 0ms
memory: 1856kb,1864kb
input:
1 410366615149657534
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 1 3030 2 4675 3 2304 4 4902 5 883 8 4262 9 3540 10 2130 12 3558 13 3064 14 2407 15 3663 17 2431 18 3903 19 3540 20 835 21 3624 22 3800 24 1575 27 2145 28 4749 31 1714 33 3735 34 2619 35 1646 36 1831 37 3064 38 645 40 1147 41 163 42 4754 43 2946 44 4681 46 3181 47 4445 49 3155 50 2407 51 ...
input:
2 4980 3726 1 3030 2 4675 3 2304 4 4902 5 883 8 4262 9 3540 10 2130 12 3558 13 3064 14 2407 15 3663 17 2431 18 3903 19 3540 20 835 21 3624 22 3800 24 1575 27 2145 28 4749 31 1714 33 3735 34 2619 35 1646 36 1831 37 3064 38 645 40 1147 41 163 42 4754 43 2946 44 4681 46 3181 47 4445 49 3155 50 2407 51 ...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 410366615149657534
Test #29:
score: 65
Accepted
time: 1ms = 1ms + 0ms
memory: 1852kb,1864kb
input:
1 298090682780948428
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 1 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
2 4980 3726 2 4612 3 2750 4 3191 5 1848 6 4281 7 2070 8 3125 9 1821 11 534 12 1273 12 1563 12 2225 12 3069 12 3436 12 3491 12 3546 12 3601 12 3626 12 3812 12 4488 12 4537 12 4782 13 4958 14 1950 15 1242 16 3670 17 2487 18 572 18 888 18 1052 18 1526 18 1843 18 2272 18 2471 18 2570 18 2900 18 3121 18 ...
input:
2 4980 3726 2 4612 3 2750 4 3191 5 1848 6 4281 7 2070 8 3125 9 1821 11 534 12 1273 12 1563 12 2225 12 3069 12 3436 12 3491 12 3546 12 3601 12 3626 12 3812 12 4488 12 4537 12 4782 13 4958 14 1950 15 1242 16 3670 17 2487 18 572 18 888 18 1052 18 1526 18 1843 18 2272 18 2471 18 2570 18 2900 18 3121 18 ...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 298090682780948428
Test #30:
score: 65
Accepted
time: 1ms = 1ms + 0ms
memory: 1860kb,1840kb
input:
3 969441916331132577
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 2613 905 2613 3934 2613 862 2613 2197 2613 1590 2613 231 2613 4676 2613 1217 2613 4273 2613 2415 2613 503 2613 2725 2613 4326 2613 816 2613 1940 2613 4423 2613 620 ...
output:
4 4980 2490 1 3293 3 4041 5 18 6 2516 7 2407 10 1367 14 2407 16 3670 17 2487 18 58 18 883 18 888 18 911 18 999 18 1145 18 1324 18 1799 18 2335 18 2599 18 2819 18 2973 18 3143 18 3291 18 3621 18 3923 18 4600 18 4752 23 4041 24 3548 25 1791 26 2305 27 892 32 1791 33 2564 36 3732 37 3393 39 4143 41 245...
input:
4 4980 2490 1 3293 3 4041 5 18 6 2516 7 2407 10 1367 14 2407 16 3670 17 2487 18 58 18 883 18 888 18 911 18 999 18 1145 18 1324 18 1799 18 2335 18 2599 18 2819 18 2973 18 3143 18 3291 18 3621 18 3923 18 4600 18 4752 23 4041 24 3548 25 1791 26 2305 27 892 32 1791 33 2564 36 3732 37 3393 39 4143 41 245...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 969441916331132577
Test #31:
score: 0
Wrong Answer
time: 1ms = 1ms + 0ms
memory: 1856kb,1844kb
input:
3 929489812741933634
output:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
input:
a890c6696058af3ad84e267191c856938f206a8ef7c63581510cdfa15e45f9c07d82b6a58fe3c8183e2b8f4b976dd90fbca50f420ce3dcf29a3d6a73adf47022 3 4980 1498 3256 1498 2613 1498 4230 1498 4875 1498 2510 1498 2506 1498 4741 1498 4663 1498 736 1498 3785 1498 779 1498 982 1498 874 1498 4423 1498 4296 1498 1940 1498 263...
output:
4 4980 2490 1 1701 3 1251 4 3373 9 2796 10 3099 13 3393 14 536 15 1897 18 2819 20 1674 21 3073 22 1108 26 1209 27 4850 29 980 31 1900 33 2564 34 1072 38 730 39 3393 40 1147 41 4598 42 3725 44 499 45 730 46 3965 47 802 50 4110 52 1154 53 4110 54 2063 55 4172 56 4850 59 3437 61 1707 65 3508 68 1089 71...
input:
4 4980 2490 1 1701 3 1251 4 3373 9 2796 10 3099 13 3393 14 536 15 1897 18 2819 20 1674 21 3073 22 1108 26 1209 27 4850 29 980 31 1900 33 2564 34 1072 38 730 39 3393 40 1147 41 4598 42 3725 44 499 45 730 46 3965 47 802 50 4110 52 1154 53 4110 54 2063 55 4172 56 4850 59 3437 61 1707 65 3508 68 1089 71...
output:
08e2277017156c65e2df558ef1d27eae814767ea6a771d5be687d4040371b97399dd6bd28d5207cce21e4e205ea711c730f7ccf85a21af8c41bab7c037b89e9e 929487613651552834