Parse integers 
Compute the sum of integers read from STDIN as fast as possible.
Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].
629871117
2024562523
1372689083
1021777120
2111176472
Output: The uint64 sum of all numbers, printed as a decimal string.
Note: Integer overflow is expected – use a 64-bit accumulator.
Source Code
Source code access is restricted. Log in to request access.
Challenge History
No challenges yet.
Run Statistics
| # | Date | Score | Wall Time | CPU User | CPU System | Memory | Error | |
|---|---|---|---|---|---|---|---|---|
| 1 | May 29, 2024 19:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683423183436725 ", got "53683435073731471 " | |
| 2 | May 29, 2024 19:11 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 2281963776 | stderr |
| 3 | May 29, 2024 19:11 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683441807338445 ", got "53683466788552939 " | |
| 4 | May 29, 2024 19:10 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690471809165492 ", got "53690532127674680 " | |
| 5 | May 29, 2024 19:10 | 0 | 0 | 0 | 0 | 0 | Error: expected "53686529788309093 ", got "53686578013049548 " | |
| 6 | May 29, 2024 19:09 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682465408871667 ", got "53682466316649469 " | |
| 7 | May 29, 2024 19:08 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688904420030031 ", got "53688916310324777 " | |
| 8 | May 29, 2024 19:03 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690669739111115 ", got "53690680869491798 " | |
| 9 | May 29, 2024 19:02 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 268599328 | stderr |
| 10 | May 29, 2024 19:02 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570458240 | stderr |
| 11 | May 29, 2024 19:12 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 335609984 | stderr |
| 12 | May 29, 2024 19:01 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691262849736314 ", got "53691237249736314 " | |
| 13 | May 29, 2024 19:00 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691638658364271 ", got "53691702893485036 " | |
| 14 | May 29, 2024 18:59 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687409992243252 ", got "53687510404046807 " | |
| 15 | May 29, 2024 18:56 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690171478983098 ", got "53690235714103863 " | |
| 16 | May 29, 2024 18:56 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 2281963776 | stderr |
| 17 | May 29, 2024 18:55 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687961189687173 ", got "53687972320067856 " | |
| 18 | May 29, 2024 18:55 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 19 | May 29, 2024 18:54 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 17833988 | stderr |
| 20 | May 29, 2024 19:28 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692038034626046 ", got "53692079149921371 " | |
| 21 | May 29, 2024 19:33 | 0 | 0 | 0 | 0 | 0 | Error: expected "53692713608959122 ", got "53692839682534857 " | |
| 22 | May 29, 2024 19:33 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 268599328 | stderr |
| 23 | May 29, 2024 19:32 | 0 | 0 | 0 | 0 | 0 | Error: expected "53683957186628331 ", got "53683954626628331 " | |
| 24 | May 29, 2024 19:32 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688331482173067 ", got "53688359958802584 " | |
| 25 | May 29, 2024 19:31 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681066774721735 ", got "53681077905102418 " | |
| 26 | May 29, 2024 19:30 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1074397312 | stderr |
| 27 | May 29, 2024 19:30 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682814293595413 ", got "53682861768492197 " | |
| 28 | May 29, 2024 19:29 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681753553698544 ", got "53681800851257659 " | |
| 29 | May 29, 2024 19:29 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689509673541567 ", got "53689529459920697 " | |
| 30 | May 29, 2024 18:53 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 167804992 | stderr |
| 31 | May 29, 2024 19:28 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689942154258563 ", got "53689992966316610 " | |
| 32 | May 29, 2024 19:27 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681378721596382 ", got "53681442293617999 " | |
| 33 | May 29, 2024 19:26 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681592859288616 ", got "53681590299288616 " | |
| 34 | May 29, 2024 19:26 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689793852278904 ", got "53689829174349571 " | |
| 35 | May 29, 2024 19:25 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570491008 | stderr |
| 36 | May 29, 2024 19:14 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570490944 | stderr |
| 37 | May 29, 2024 19:13 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1208025152 | stderr |
| 38 | May 29, 2024 19:12 | 0 | 0 | 0 | 0 | 0 | Error: expected "53691875311617238 ", got "53691916426912563 " | |
| 39 | May 29, 2024 18:53 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689818178257978 ", got "53689875892068058 " | |
| 40 | May 29, 2024 18:40 | 0 | 0 | 0 | 0 | 0 | Error: expected "53685026061318901 ", got "53685037191699584 " | |
| 41 | May 29, 2024 18:41 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 167804992 | stderr |
| 42 | May 29, 2024 18:41 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 71311376 | stderr |
| 43 | May 29, 2024 18:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688800226489065 ", got "53688853673593114 " | |
| 44 | May 29, 2024 18:42 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681260667342828 ", got "53681260411342828 " | |
| 45 | May 29, 2024 18:45 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 46 | May 29, 2024 18:45 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1208025152 | stderr |
| 47 | May 29, 2024 18:46 | 0 | 0 | 0 | 0 | 0 | Error: expected "53682221635973284 ", got "53682273887190232 " | |
| 48 | May 29, 2024 18:47 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687332360018611 ", got "53687371767246046 " | |
| 49 | May 29, 2024 18:47 | 0 | 0 | 0 | 0 | 0 | Error: expected "53690407857337960 ", got "53690504453385086 " | |
| 50 | May 29, 2024 18:48 | 0 | 0 | 0 | 0 | 0 | Error: expected "53687691919138189 ", got "53687717759429719 " | |
| 51 | May 29, 2024 18:49 | 0 | 0 | 0 | 0 | 0 | Error: expected "53681537454604925 ", got "53681548584985608 " | |
| 52 | May 29, 2024 18:49 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1082163328 | stderr |
| 53 | May 29, 2024 18:50 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688621231265708 ", got "53688624090377915 " | |
| 54 | May 29, 2024 18:51 | 0 | 0 | 0 | 0 | 0 | Error: expected "53689816653119981 ", got "53689880888240746 " | |
| 55 | May 29, 2024 18:51 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 570491008 | stderr |
| 56 | May 29, 2024 18:52 | 0 | 0 | 0 | 0 | 0 | Error: expected "53688124574951182 ", got "53688214668073383 " | |
| 57 | May 29, 2024 18:52 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 268599328 | stderr |
| 58 | May 29, 2024 18:48 | 0 | 0 | 0 | 0 | 0 | Error: Exit with code 1: Segmentation fault at address: 1074397312 | stderr |
| 59 | May 29, 2024 18:43 | 5,850 | 113,837,282 | 48,555,546 | 0 | 2,220,032 | ||
| 60 | May 29, 2024 18:57 | 5,869 | 109,623,371 | 48,712,000 | 0 | 2,220,032 | ||
| 61 | May 29, 2024 18:43 | 5,901 | 114,618,396 | 48,979,073 | 0 | 2,211,840 | ||
| 62 | May 29, 2024 19:14 | 5,916 | 109,885,357 | 49,105,186 | 0 | 2,228,224 | ||
| 63 | May 29, 2024 18:44 | 5,940 | 112,875,413 | 49,298,631 | 0 | 2,220,032 | ||
| 64 | May 29, 2024 19:14 | 5,945 | 116,732,820 | 49,344,972 | 0 | 2,199,552 | ||
| 65 | May 29, 2024 19:14 | 5,967 | 107,728,861 | 49,529,508 | 0 | 2,224,128 | ||
| 66 | May 29, 2024 19:03 | 5,969 | 115,407,898 | 49,545,106 | 0 | 2,207,744 | ||
| 67 | May 29, 2024 18:43 | 5,980 | 109,508,642 | 49,637,915 | 0 | 2,203,648 | ||
| 68 | May 29, 2024 19:03 | 5,984 | 118,415,878 | 49,666,584 | 0 | 2,220,032 | ||
| 69 | May 29, 2024 18:57 | 5,984 | 124,561,170 | 49,670,898 | 0 | 2,232,320 | ||
| 70 | May 29, 2024 19:34 | 5,988 | 112,463,326 | 49,703,310 | 0 | 2,220,032 | ||
| 71 | May 29, 2024 18:44 | 5,998 | 108,428,084 | 49,784,398 | 0 | 2,195,456 | ||
| 72 | May 29, 2024 19:03 | 6,004 | 120,206,695 | 49,833,726 | 0 | 2,232,320 | ||
| 73 | May 29, 2024 19:34 | 6,016 | 113,331,265 | 49,935,165 | 0 | 2,215,936 | ||
| 74 | May 29, 2024 18:44 | 6,028 | 115,939,880 | 50,030,156 | 0 | 2,203,648 | ||
| 75 | May 29, 2024 19:34 | 6,028 | 115,009,128 | 50,032,990 | 0 | 2,285,568 | ||
| 76 | May 29, 2024 18:57 | 6,029 | 119,503,742 | 50,038,411 | 0 | 2,211,840 |