QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#107985#2225. Terrace HillZhangYiDeWA 1147ms10116kbC++111.3kb2023-05-23 12:52:552023-05-23 12:52:57

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3396kb

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: 2ms
memory: 3392kb

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: 0ms
memory: 3444kb

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: 2ms
memory: 3396kb

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: 2ms
memory: 3348kb

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: 2ms
memory: 3460kb

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: 2ms
memory: 3376kb

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: 0ms
memory: 3468kb

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: 0
Accepted
time: 2ms
memory: 3392kb

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:

4021

result:

ok single line: '4021'

Test #10:

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

input:

2599
1394 2009 1959 1953 547 458 1040 983 1440 1602 1212 252 1957 2032 316 341 633 1303 1461 1594 1432 1445 1065 959 74 1847 266 582 145 516 1133 1539 478 1044 1444 1025 1502 436 2008 894 2039 1173 1147 1948 1157 1463 242 1790 719 1703 1336 103 1101 354 1062 1175 153 1328 1757 298 1845 842 1837 275 ...

output:

248

result:

ok single line: '248'

Test #11:

score: 0
Accepted
time: 3ms
memory: 3492kb

input:

2736
9232 3001 3660 13544 3207 7894 2378 6533 9832 260 8084 7092 2604 5806 1194 14133 8744 8840 8662 11681 2196 1017 10607 3988 13087 597 12357 14552 14838 4180 9096 7686 7181 12756 4847 10388 4266 7225 538 14099 7486 8622 4807 10090 14428 6001 7840 6788 14841 118 2085 654 1136 12692 4642 14223 1328...

output:

0

result:

ok single line: '0'

Test #12:

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

input:

1939
36295 113712 111438 9500 98217 14239 95973 111903 22730 77267 31797 82916 34226 643 114855 92265 58715 59885 2155 92701 22563 5141 4551 91287 16174 34697 9059 16306 32504 73497 67397 68799 56137 47764 78299 23282 62003 43201 4114 84733 120468 35911 36577 23622 36554 20361 115887 95269 80246 118...

output:

0

result:

ok single line: '0'

Test #13:

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

input:

10497
83 47 231 197 37 73 207 91 77 208 7 41 173 1 159 220 140 74 41 163 239 66 92 44 246 252 51 82 25 82 83 109 130 58 50 167 132 2 2 209 210 9 251 127 9 154 91 149 228 133 56 211 199 148 255 189 145 50 15 170 133 98 23 7 157 74 174 33 76 176 242 30 185 237 157 194 135 249 87 108 126 143 63 69 36 6...

output:

17677

result:

ok single line: '17677'

Test #14:

score: 0
Accepted
time: 5ms
memory: 3560kb

input:

14550
304 1104 1925 765 1131 1029 384 1798 393 1641 822 415 1642 1355 1007 574 778 1744 2025 474 27 1448 148 1426 1966 1952 1674 1048 1130 582 1262 1434 1686 1140 151 770 121 535 520 514 128 1342 930 1771 649 1937 297 1427 1633 274 1902 1660 1722 2 1038 1641 1954 664 641 1036 1246 1903 422 885 995 5...

output:

23443

result:

ok single line: '23443'

Test #15:

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

input:

6616
14867 8518 10884 3834 12718 3828 9892 7976 11176 8569 7178 11715 1579 13571 11189 15496 10666 5980 300 1455 7795 2792 11690 975 3402 7661 1865 13761 15753 7822 3994 14236 16341 14878 1686 12675 2322 11579 4268 13498 3764 11446 8829 5343 8634 3635 4456 2916 9615 4756 4371 1026 7548 16061 2002 10...

output:

5

result:

ok single line: '5'

Test #16:

score: 0
Accepted
time: 2ms
memory: 3844kb

input:

7726
97152 108764 5592 10273 112047 96304 123521 112170 104051 45921 2090 107651 123644 128718 107443 32595 27051 107331 114617 74481 33587 37535 109515 47584 45445 61924 92270 11690 75715 70235 35800 41795 47927 41392 52068 28903 6625 44517 10001 110676 90438 12092 87255 83010 9738 63626 115606 367...

output:

35

result:

ok single line: '35'

Test #17:

score: 0
Accepted
time: 8ms
memory: 3584kb

input:

41722
104 151 83 221 23 109 24 61 27 34 255 116 238 149 11 58 162 124 1 112 240 106 86 139 235 241 38 135 254 222 130 102 117 213 67 140 67 92 201 94 126 200 210 108 93 221 166 255 89 168 111 74 18 197 213 253 183 251 132 181 218 6 28 79 220 95 220 31 187 165 125 58 110 80 166 203 45 77 203 135 245 ...

output:

65963

result:

ok single line: '65963'

Test #18:

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

input:

61204
1548 1668 154 232 522 1606 458 226 584 1186 1054 124 891 1135 1784 370 1310 1321 2002 1527 1049 1731 2044 42 1279 270 2023 1714 200 850 1478 1748 471 1632 1980 993 1190 390 1219 1774 1577 225 1898 420 1361 1634 790 623 907 744 102 1957 427 98 1999 1707 368 1974 1373 568 777 804 268 1248 388 20...

output:

114497

result:

ok single line: '114497'

Test #19:

score: 0
Accepted
time: 14ms
memory: 4032kb

input:

34482
15279 3666 8061 15476 3256 8205 1805 13613 14948 16167 14592 15581 6814 5769 15925 3656 1286 13630 4561 2217 1955 12930 681 13060 11000 14442 13797 326 8059 8950 2040 6954 12616 10101 6047 15872 1923 7852 13101 487 7635 11309 16068 14449 694 15609 1721 1980 12855 6282 4197 14810 2829 4878 1148...

output:

14887

result:

ok single line: '14887'

Test #20:

score: 0
Accepted
time: 18ms
memory: 4848kb

input:

36197
116398 58436 48429 80585 109520 112632 90207 73676 96265 87066 117358 124450 127243 129360 90878 39967 18080 79044 82311 46589 55628 92438 12873 62038 6591 86948 113357 123739 128682 1015 94400 114008 59451 11757 63521 37899 124389 22656 111575 89583 109722 97861 82961 105894 96150 42768 14789...

output:

0

result:

ok single line: '0'

Test #21:

score: 0
Accepted
time: 27ms
memory: 4280kb

input:

161405
75 24 24 170 109 1 39 49 97 229 57 29 197 112 61 71 107 96 206 200 173 81 30 146 94 203 239 23 199 92 148 19 116 173 189 225 174 229 18 16 202 75 45 143 187 106 215 38 202 165 238 120 246 13 10 84 216 250 108 160 86 1 179 202 173 112 172 92 85 190 108 31 10 153 175 197 3 134 236 206 43 218 70...

output:

261037

result:

ok single line: '261037'

Test #22:

score: 0
Accepted
time: 35ms
memory: 4256kb

input:

150324
19 596 1089 1252 670 1671 982 1540 1013 1788 1000 1664 1204 421 1341 529 1983 1424 1103 1504 843 1420 1313 1165 74 846 430 448 1037 914 1269 1056 1510 310 261 133 1982 1243 1673 947 983 625 563 139 1046 1904 669 982 1280 1772 438 75 1144 1751 1240 1219 549 1670 1667 1586 536 888 595 2047 1199...

output:

256699

result:

ok single line: '256699'

Test #23:

score: 0
Accepted
time: 57ms
memory: 5016kb

input:

169670
3644 12179 14953 14580 11607 14988 8159 773 3999 6228 6600 210 1008 1495 1507 756 8858 1164 12602 15910 8222 5525 2876 9588 9053 3867 5367 6834 14152 9113 12665 1412 4908 11234 15992 132 9838 7767 905 13838 13996 7505 14048 15004 9000 15555 15760 1475 336 11978 1001 8558 1119 3877 1763 10172 ...

output:

271773

result:

ok single line: '271773'

Test #24:

score: 0
Accepted
time: 131ms
memory: 10116kb

input:

246604
6558 12956 71217 30285 11973 103802 98087 106049 69492 8646 25812 11693 74871 88448 96971 41117 106796 124889 45157 71274 99205 6320 75412 34617 30427 92801 31591 97437 6317 67892 81897 12875 80848 22043 43160 92821 125845 10176 67798 64266 18822 93611 75959 93693 50987 41858 3738 26712 35675...

output:

291112

result:

ok single line: '291112'

Test #25:

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

input:

222
55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...

output:

109

result:

ok single line: '109'

Test #26:

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

input:

104
26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 21 736 756 741 103 707 582 1766 1770 1042 306 601 515 1303 1375 1669 1581 332 843 1851 741 252 1779 910 1608 1290 1508 770 1440 703 106 1461 1439 862...

output:

42

result:

ok single line: '42'

Test #27:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

194
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 8082 5251 1076...

output:

47

result:

ok single line: '47'

Test #28:

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

input:

197
49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 15777 154 4...

output:

48

result:

ok single line: '48'

Test #29:

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

input:

477
119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 ...

output:

246

result:

ok single line: '246'

Test #30:

score: 0
Accepted
time: 3ms
memory: 3368kb

input:

373
93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 93 94 95 96 97 98 99 100 1...

output:

101

result:

ok single line: '101'

Test #31:

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

input:

300
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...

output:

74

result:

ok single line: '74'

Test #32:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

171
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 104608 117041 63176 48055 109703 67646 1247 97546 ...

output:

41

result:

ok single line: '41'

Test #33:

score: 0
Accepted
time: 3ms
memory: 3392kb

input:

1979
494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421...

output:

1557

result:

ok single line: '1557'

Test #34:

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

input:

466
116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 ...

output:

130

result:

ok single line: '130'

Test #35:

score: 0
Accepted
time: 3ms
memory: 3600kb

input:

4072
1018 1017 1016 1015 1014 1013 1012 1011 1010 1009 1008 1007 1006 1005 1004 1003 1002 1001 1000 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 ...

output:

1017

result:

ok single line: '1017'

Test #36:

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

input:

2033
508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435...

output:

507

result:

ok single line: '507'

Test #37:

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

input:

5166
1291 1290 1289 1288 1287 1286 1285 1284 1283 1282 1281 1280 1279 1278 1277 1276 1275 1274 1273 1272 1271 1270 1269 1268 1267 1266 1265 1264 1263 1262 1261 1260 1259 1258 1257 1256 1255 1254 1253 1252 1251 1250 1249 1248 1247 1246 1245 1244 1243 1242 1241 1240 1239 1238 1237 1236 1235 1234 1233 ...

output:

5352

result:

ok single line: '5352'

Test #38:

score: 0
Accepted
time: 3ms
memory: 3636kb

input:

5949
1487 1486 1485 1484 1483 1482 1481 1480 1479 1478 1477 1476 1475 1474 1473 1472 1471 1470 1469 1468 1467 1466 1465 1464 1463 1462 1461 1460 1459 1458 1457 1456 1455 1454 1453 1452 1451 1450 1449 1448 1447 1446 1445 1444 1443 1442 1441 1440 1439 1438 1437 1436 1435 1434 1433 1432 1431 1430 1429 ...

output:

2902

result:

ok single line: '2902'

Test #39:

score: 0
Accepted
time: 2ms
memory: 3556kb

input:

3364
841 840 839 838 837 836 835 834 833 832 831 830 829 828 827 826 825 824 823 822 821 820 819 818 817 816 815 814 813 812 811 810 809 808 807 806 805 804 803 802 801 800 799 798 797 796 795 794 793 792 791 790 789 788 787 786 785 784 783 782 781 780 779 778 777 776 775 774 773 772 771 770 769 768...

output:

840

result:

ok single line: '840'

Test #40:

score: 0
Accepted
time: 2ms
memory: 3600kb

input:

3038
759 758 757 756 755 754 753 752 751 750 749 748 747 746 745 744 743 742 741 740 739 738 737 736 735 734 733 732 731 730 729 728 727 726 725 724 723 722 721 720 719 718 717 716 715 714 713 712 711 710 709 708 707 706 705 704 703 702 701 700 699 698 697 696 695 694 693 692 691 690 689 688 687 686...

output:

758

result:

ok single line: '758'

Test #41:

score: 0
Accepted
time: 6ms
memory: 3880kb

input:

21032
5258 5257 5256 5255 5254 5253 5252 5251 5250 5249 5248 5247 5246 5245 5244 5243 5242 5241 5240 5239 5238 5237 5236 5235 5234 5233 5232 5231 5230 5229 5228 5227 5226 5225 5224 5223 5222 5221 5220 5219 5218 5217 5216 5215 5214 5213 5212 5211 5210 5209 5208 5207 5206 5205 5204 5203 5202 5201 5200...

output:

21778

result:

ok single line: '21778'

Test #42:

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

input:

6876
1719 1718 1717 1716 1715 1714 1713 1712 1711 1710 1709 1708 1707 1706 1705 1704 1703 1702 1701 1700 1699 1698 1697 1696 1695 1694 1693 1692 1691 1690 1689 1688 1687 1686 1685 1684 1683 1682 1681 1680 1679 1678 1677 1676 1675 1674 1673 1672 1671 1670 1669 1668 1667 1666 1665 1664 1663 1662 1661 ...

output:

4195

result:

ok single line: '4195'

Test #43:

score: 0
Accepted
time: 28ms
memory: 4352kb

input:

39190
9797 9796 9795 9794 9793 9792 9791 9790 9789 9788 9787 9786 9785 9784 9783 9782 9781 9780 9779 9778 9777 9776 9775 9774 9773 9772 9771 9770 9769 9768 9767 9766 9765 9764 9763 9762 9761 9760 9759 9758 9757 9756 9755 9754 9753 9752 9751 9750 9749 9748 9747 9746 9745 9744 9743 9742 9741 9740 9739...

output:

23400

result:

ok single line: '23400'

Test #44:

score: 0
Accepted
time: 11ms
memory: 4928kb

input:

36362
9090 9089 9088 9087 9086 9085 9084 9083 9082 9081 9080 9079 9078 9077 9076 9075 9074 9073 9072 9071 9070 9069 9068 9067 9066 9065 9064 9063 9062 9061 9060 9059 9058 9057 9056 9055 9054 9053 9052 9051 9050 9049 9048 9047 9046 9045 9044 9043 9042 9041 9040 9039 9038 9037 9036 9035 9034 9033 9032...

output:

9089

result:

ok single line: '9089'

Test #45:

score: 0
Accepted
time: 6ms
memory: 3996kb

input:

26372
6593 6592 6591 6590 6589 6588 6587 6586 6585 6584 6583 6582 6581 6580 6579 6578 6577 6576 6575 6574 6573 6572 6571 6570 6569 6568 6567 6566 6565 6564 6563 6562 6561 6560 6559 6558 6557 6556 6555 6554 6553 6552 6551 6550 6549 6548 6547 6546 6545 6544 6543 6542 6541 6540 6539 6538 6537 6536 6535...

output:

26728

result:

ok single line: '26728'

Test #46:

score: 0
Accepted
time: 20ms
memory: 5312kb

input:

76538
19134 19133 19132 19131 19130 19129 19128 19127 19126 19125 19124 19123 19122 19121 19120 19119 19118 19117 19116 19115 19114 19113 19112 19111 19110 19109 19108 19107 19106 19105 19104 19103 19102 19101 19100 19099 19098 19097 19096 19095 19094 19093 19092 19091 19090 19089 19088 19087 19086 ...

output:

78371

result:

ok single line: '78371'

Test #47:

score: 0
Accepted
time: 125ms
memory: 8456kb

input:

179300
44825 44824 44823 44822 44821 44820 44819 44818 44817 44816 44815 44814 44813 44812 44811 44810 44809 44808 44807 44806 44805 44804 44803 44802 44801 44800 44799 44798 44797 44796 44795 44794 44793 44792 44791 44790 44789 44788 44787 44786 44785 44784 44783 44782 44781 44780 44779 44778 44777...

output:

119483

result:

ok single line: '119483'

Test #48:

score: 0
Accepted
time: 10ms
memory: 4380kb

input:

21761
5440 5439 5438 5437 5436 5435 5434 5433 5432 5431 5430 5429 5428 5427 5426 5425 5424 5423 5422 5421 5420 5419 5418 5417 5416 5415 5414 5413 5412 5411 5410 5409 5408 5407 5406 5405 5404 5403 5402 5401 5400 5399 5398 5397 5396 5395 5394 5393 5392 5391 5390 5389 5388 5387 5386 5385 5384 5383 5382...

output:

5439

result:

ok single line: '5439'

Test #49:

score: -100
Wrong Answer
time: 1147ms
memory: 6156kb

input:

100000
50000 49999 49998 49997 49996 49995 49994 49993 49992 49991 49990 49989 49988 49987 49986 49985 49984 49983 49982 49981 49980 49979 49978 49977 49976 49975 49974 49973 49972 49971 49970 49969 49968 49967 49966 49965 49964 49963 49962 49961 49960 49959 49958 49957 49956 49955 49954 49953 49952...

output:

-1795017296

result:

wrong answer 1st lines differ - expected: '2499950000', found: '-1795017296'