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,714Success
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:104,63960,853,96936,480,0002,026,0002,437,120
2Aug 2, 2025 20:114,64764,823,34936,543,0002,030,0002,453,504
3Aug 2, 2025 20:114,64869,328,06436,550,0002,030,0002,445,312
4Aug 2, 2025 20:104,65065,702,56337,576,0001,015,0002,519,040
5Aug 2, 2025 20:114,65365,594,91436,591,0002,032,0002,519,040
6Aug 2, 2025 20:104,65763,785,84536,616,0002,034,0002,449,408
7Aug 2, 2025 20:104,67766,618,72637,820,000995,0002,510,848
8Aug 2, 2025 20:104,68073,641,45736,851,0001,991,0002,453,504
9Aug 2, 2025 20:104,69361,610,71935,953,0002,996,0002,510,848
10Aug 2, 2025 20:104,71462,124,08136,114,0003,009,0002,519,040
11Aug 2, 2025 20:104,71971,645,59836,158,0003,013,0002,445,312
12Aug 2, 2025 20:104,72161,749,25537,177,0002,009,0002,519,040
13Aug 2, 2025 20:104,72464,203,09536,196,0003,016,0002,519,040
14Aug 2, 2025 20:114,72765,496,65436,215,0003,017,0002,519,040
15Aug 2, 2025 20:114,72860,538,42937,231,0002,012,0002,519,040
16Aug 2, 2025 20:114,73368,416,38636,265,0003,022,0002,437,120
17Aug 2, 2025 20:104,73764,246,63336,293,0003,024,0002,445,312
18Aug 2, 2025 20:104,79772,711,14837,822,0001,990,0002,457,600