QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#125955#2225. Terrace HillZhangYiDeWA 1ms3488kbC++171.2kb2023-07-18 00:17:022023-07-18 00:17:03

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3440kb

input:

103
198 105 115 81 255 74 236 41 205 186 171 242 251 227 70 124 194 84 248 27 232 231 141 118 90 46 99 51 159 201 154 102 50 13 183 49 88 163 90 37 93 5 23 88 233 94 212 171 178 205 198 155 180 84 17 14 130 116 65 33 61 220 135 112 233 62 161 65 225 252 103 62 1 126 151 234 220 107 150 143 56 92 42 ...

output:

19

result:

ok single line: '19'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3312kb

input:

251
1321 1489 2022 5 316 1916 1940 1397 2008 1470 97 1161 505 1884 1723 1704 1177 1551 149 1969 1515 1265 179 1541 1519 1015 1792 1257 673 570 741 1994 11 715 2000 328 583 1892 1725 543 1315 1822 1704 1820 1659 1380 1477 788 883 1626 709 350 843 889 1891 315 1904 1636 1572 529 158 265 476 170 980 42...

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3488kb

input:

208
3354 14810 7785 9578 13182 12620 4478 6993 3877 11187 11080 9092 2899 314 9364 13051 14897 5529 5776 15922 12119 6212 10990 13467 1724 3561 997 13861 3791 520 3573 7145 15330 11358 339 12128 7594 4818 2738 11472 16005 13818 4180 2520 14133 13544 15572 12646 2690 4964 12184 14809 11176 6791 11893...

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3412kb

input:

209
87294 56292 11737 102349 15941 89507 41361 108998 15361 511 118473 109098 50393 48661 51969 1091 54831 125166 82197 98562 25991 129633 42620 26131 112226 92574 86889 113404 106354 66945 24781 62577 123237 36518 33854 8107 126025 75215 117105 10315 75726 104506 119413 126119 22095 40310 127210 76...

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

14
13 210 235 178 31 108 58 59 192 84 42 171 186 78

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3344kb

input:

504
502 1991 1046 158 371 529 520 731 1796 96 1826 522 1703 1869 49 1717 1115 1027 1184 1805 546 1293 1607 1885 1997 667 1159 1656 854 1493 112 1356 1436 1158 1514 1807 1688 2034 491 1436 83 269 1959 1786 90 2008 1456 1205 987 592 962 1533 1885 521 1370 1834 1189 482 1443 2043 1975 1555 1351 1364 66...

output:

41

result:

ok single line: '41'

Test #7:

score: 0
Accepted
time: 1ms
memory: 3436kb

input:

463
8668 2445 2146 2603 7587 4511 11549 9898 2097 13698 3748 8186 2780 12634 9587 108 73 13936 3857 1652 12208 15478 12234 5618 14763 13173 8229 6428 4781 5640 14059 13449 8085 16205 16052 15672 4333 11217 9187 6430 8531 12935 14617 11311 9185 7820 11420 9259 5372 15277 10911 1196 14371 6761 6815 12...

output:

0

result:

ok single line: '0'

Test #8:

score: 0
Accepted
time: 1ms
memory: 3372kb

input:

492
67768 552 80977 112189 75615 101159 78838 14257 108489 109745 109871 108489 39388 111556 126918 81560 2348 65809 79863 25475 50390 10478 4926 97519 3105 92286 121749 40857 127798 84563 25989 64494 85115 106966 45612 29659 77053 124450 43916 54471 103123 22715 31888 11440 3200 27734 93000 5548 93...

output:

0

result:

ok single line: '0'

Test #9:

score: -100
Wrong Answer
time: 1ms
memory: 3312kb

input:

3092
200 1 35 146 58 93 24 181 44 248 19 116 67 51 237 102 168 200 96 243 160 194 198 4 246 169 219 62 212 76 82 157 77 117 47 135 211 72 60 255 64 79 116 131 130 97 234 42 42 74 29 202 12 228 206 2 141 169 64 98 245 147 255 66 8 46 201 219 118 5 219 183 84 79 58 214 176 36 1 218 110 30 165 122 2 11...

output:

4112

result:

wrong answer 1st lines differ - expected: '4021', found: '4112'