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 listAug 2, 2025 20:11Jack FrigaardJack FrigaardScore: 4,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:114,63663,758,21137,465,0001,012,0002,519,040
2Aug 2, 2025 20:114,64261,273,19337,514,0001,013,0002,457,600
3Aug 2, 2025 20:114,65166,396,53036,573,0002,031,0002,310,144
4Aug 2, 2025 20:114,66166,171,81636,651,0002,036,0002,453,504
5Aug 2, 2025 20:114,66164,784,25936,654,0002,036,0002,449,408
6Aug 2, 2025 20:114,67268,597,45636,787,0001,988,0002,510,848
7Aug 2, 2025 20:114,67964,737,33435,845,0002,987,0002,461,696
8Aug 2, 2025 20:114,69666,794,04135,980,0002,998,0002,510,848
9Aug 2, 2025 20:114,71664,624,95536,132,0003,011,0002,519,040
10Aug 2, 2025 20:114,71859,998,03837,150,0002,008,0002,519,040
11Aug 2, 2025 20:114,72056,578,74736,160,0003,013,0002,445,312
12Aug 2, 2025 20:114,72066,791,41337,170,0002,009,0002,519,040
13Aug 2, 2025 20:114,73166,373,40737,256,0002,013,0002,519,040
14Aug 2, 2025 20:114,73965,925,37338,327,0001,008,0002,519,040
15Aug 2, 2025 20:114,74166,401,43336,327,0003,027,0002,441,216
16Aug 2, 2025 20:114,74366,659,50436,342,0003,028,0002,437,120
17Aug 2, 2025 20:114,78467,261,17938,692,0001,018,0002,519,040
18Aug 2, 2025 20:114,79667,822,85537,813,0001,990,0002,519,040