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 listJan 2, 2026 17:04Josu San MartinJosu San MartinScore: 5,968Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 17:035,76574,101,15145,860,0001,993,0002,363,392
2Jan 2, 2026 17:115,77477,438,99546,926,000998,0002,363,392
3Jan 2, 2026 17:035,78673,465,56046,021,0002,000,0002,289,664
4Jan 2, 2026 17:115,81881,762,21546,281,0002,012,0002,371,584
5Jan 2, 2026 17:035,84472,798,21447,499,0001,010,0002,293,760
6Jan 2, 2026 17:035,85277,647,66648,570,00002,293,760
7Jan 2, 2026 17:115,85875,563,13848,625,00002,293,760
8Jan 2, 2026 17:045,89979,432,36146,966,0001,998,0002,359,296
9Jan 2, 2026 17:045,91473,413,93048,087,0001,001,0002,265,088
10Jan 2, 2026 17:115,92071,358,75848,135,0001,002,0002,289,664
11Jan 2, 2026 17:045,92770,667,39447,190,0002,008,0002,281,472
12Jan 2, 2026 17:035,93874,426,95149,283,00002,289,664
13Jan 2, 2026 17:045,96871,915,97948,522,0001,010,0002,367,488
14Jan 2, 2026 17:046,00586,120,09148,848,000996,0002,293,760
15Jan 2, 2026 17:116,00875,754,46347,876,0001,994,0002,293,760
16Jan 2, 2026 17:036,02276,092,23547,980,0001,999,0002,367,488
17Jan 2, 2026 17:036,03480,146,99448,077,0002,003,0002,293,760
18Jan 2, 2026 17:036,05872,808,79648,268,0002,011,0002,293,760
19Jan 2, 2026 17:036,06179,185,96249,302,0001,006,0002,363,392
20Jan 2, 2026 17:036,06372,932,03249,316,0001,006,0002,289,664
21Jan 2, 2026 17:046,06775,384,21150,353,00002,293,760
22Jan 2, 2026 17:036,08472,766,63049,486,0001,009,0002,293,760
23Jan 2, 2026 17:036,10076,665,41849,622,0001,012,0002,293,760
24Jan 2, 2026 17:116,14174,315,26849,970,000999,0002,453,504