Parse integers Sergey Svistunov

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.

Back to listMay 31, 2024 13:06GraceGraceError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 13:0600000Error: No answer to stdout. Died or killed?
2May 31, 2024 13:065,796104,391,94048,106,40302,285,568
3May 31, 2024 13:065,808110,925,79948,203,81002,285,568
4May 31, 2024 13:065,811117,118,52348,231,22402,289,664
5May 31, 2024 13:065,823112,417,29348,327,99302,289,664
6May 31, 2024 13:065,825104,218,05948,350,69002,281,472
7May 31, 2024 13:065,831120,874,97048,395,08702,281,472
8May 31, 2024 13:065,850113,286,01048,556,99902,285,568
9May 31, 2024 13:065,850118,058,23548,555,45402,277,376
10May 31, 2024 13:065,869101,018,27148,716,68202,281,472
11May 31, 2024 13:066,30873,719,16652,359,00002,273,280
12May 31, 2024 13:066,32077,713,75351,452,0001,008,0002,273,280
13May 31, 2024 13:066,33286,760,26552,553,00002,387,968
14May 31, 2024 13:066,33386,072,30151,558,0001,010,0002,273,280
15May 31, 2024 13:066,33777,256,76952,601,00002,400,256
16May 31, 2024 13:066,36378,608,09151,817,000996,0002,396,160
17May 31, 2024 13:066,36486,171,47252,825,00002,273,280
18May 31, 2024 13:066,36484,295,83451,823,000996,0002,396,160
19May 31, 2024 13:066,36478,446,92250,832,0001,993,0002,273,280
20May 31, 2024 13:066,36478,636,22152,821,00002,273,280
21May 31, 2024 13:066,36577,956,89450,838,0001,993,0002,514,944
22May 31, 2024 13:066,36781,495,36550,849,0001,994,0002,273,280
23May 31, 2024 13:066,36781,338,40251,847,000997,0002,273,280
24May 31, 2024 13:066,36781,374,65950,853,0001,994,0002,396,160
25May 31, 2024 13:066,36973,803,90551,863,000997,0002,273,280
26May 31, 2024 13:066,36977,865,60252,859,00002,273,280
27May 31, 2024 13:066,37275,643,31451,891,000997,0002,510,848
28May 31, 2024 13:066,37373,606,93251,902,000998,0002,396,160
29May 31, 2024 13:066,37378,770,70251,899,000998,0002,510,848
30May 31, 2024 13:066,37575,631,03850,917,0001,996,0002,273,280
31May 31, 2024 13:066,37776,643,43950,928,0001,997,0002,273,280
32May 31, 2024 13:066,38478,706,96551,985,000999,0002,400,256
33May 31, 2024 13:066,41777,019,67051,249,0002,009,0002,273,280
34May 31, 2024 13:066,52176,991,71553,126,0001,002,0002,396,160