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 6, 2024 21:51Joad NacerJoad NacerScore: 8,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 6, 2024 21:517,826123,274,54264,953,97802,273,280
2May 6, 2024 21:517,832119,758,49365,008,29402,281,472
3May 6, 2024 21:517,834124,691,33565,019,26002,281,472
4May 6, 2024 21:518,013142,811,01366,504,28602,256,896
5May 6, 2024 21:518,023129,643,59666,589,33602,277,376
6May 6, 2024 21:518,066133,679,82566,943,69002,277,376
7May 6, 2024 21:518,08789,931,42365,122,0002,003,0002,285,568
8May 6, 2024 21:518,08891,578,24465,124,0002,003,0002,285,568
9May 6, 2024 21:518,09192,454,56765,150,0002,004,0002,285,568
10May 6, 2024 21:518,09190,863,68465,150,0002,004,0002,285,568
11May 6, 2024 21:518,09289,743,99565,161,0002,004,0002,285,568
12May 6, 2024 21:518,09994,488,01665,215,0002,006,0002,285,568
13May 6, 2024 21:518,09992,676,49665,217,0002,006,0002,285,568
14May 6, 2024 21:518,09992,182,86465,213,0002,006,0002,285,568
15May 6, 2024 21:518,10188,474,89365,233,0002,007,0002,285,568
16May 6, 2024 21:518,10294,157,00465,241,0002,007,0002,285,568
17May 6, 2024 21:518,10388,914,72865,244,0002,007,0002,387,968
18May 6, 2024 21:518,11192,454,54465,311,0002,009,0002,269,184
19May 6, 2024 21:518,11189,706,43765,312,0002,009,0002,347,008
20May 6, 2024 21:518,13089,510,69266,469,0001,007,0002,265,088
21May 6, 2024 21:518,13893,585,61367,542,00002,285,568
22May 6, 2024 21:518,23290,331,72666,318,0002,009,0002,383,872
23May 6, 2024 21:518,30391,673,98566,916,0001,997,0002,285,568
24May 6, 2024 21:518,95098,267,09073,284,0001,003,0002,265,088
25May 6, 2024 21:518,95996,525,64473,352,0001,004,0002,265,088
26May 6, 2024 21:518,991100,755,75673,619,0001,008,0002,285,568
27May 6, 2024 21:518,992106,347,98273,623,0001,008,0002,285,568
28May 6, 2024 21:519,013100,908,11372,810,0001,994,0002,281,472
29May 6, 2024 21:519,017101,550,30173,844,000997,0002,265,088
30May 6, 2024 21:519,038102,737,62773,014,0002,000,0002,285,568