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 listMar 17, 2026 19:39wnwnScore: 4,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2026 19:384,25158,913,82433,264,0002,016,0002,502,656
2Mar 17, 2026 19:374,25756,432,54734,327,0001,009,0002,494,464
3Mar 17, 2026 19:374,26157,492,75434,357,0001,010,0002,273,280
4Mar 17, 2026 19:374,26964,569,93734,421,0001,012,0002,502,656
5Mar 17, 2026 19:374,27156,746,51534,434,0001,012,0002,273,280
6Mar 17, 2026 19:394,27158,178,89434,436,0001,012,0002,490,368
7Mar 17, 2026 19:384,27267,772,15734,444,0001,013,0002,502,656
8Mar 17, 2026 19:394,28258,152,85734,523,0001,015,0002,494,464
9Mar 17, 2026 19:374,29263,683,72834,610,0001,017,0002,273,280
10Mar 17, 2026 19:374,31862,936,12533,852,0001,991,0002,494,464
11Mar 17, 2026 19:384,31858,848,70033,850,0001,991,0002,494,464
12Mar 17, 2026 19:394,31861,610,23933,852,0001,991,0002,490,368
13Mar 17, 2026 19:394,32657,351,56233,908,0001,994,0002,494,464
14Mar 17, 2026 19:394,33859,395,97634,003,0002,000,0002,273,280
15Mar 17, 2026 19:394,35059,996,04734,097,0002,005,0002,531,328