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 31, 2025 16:34AdityaAdityaScore: 64,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 3, 2025 15:5064,312558,884,856531,792,0001,999,0002,510,848
2Feb 3, 2025 15:5064,325565,008,420531,896,0001,999,0002,269,184
3Jan 31, 2025 16:3464,333562,627,788530,965,0002,999,0002,400,256
4Feb 3, 2025 15:5064,338561,178,075533,003,0001,000,0002,269,184
5Jan 31, 2025 16:3464,347562,657,639532,081,0002,000,0002,400,256
6Feb 3, 2025 15:5064,350556,909,151533,109,0001,000,0002,260,992
7Jan 31, 2025 16:3464,353562,836,468532,126,0002,000,0002,400,256
8Feb 3, 2025 15:5064,355554,258,427534,150,00002,269,184
9Jan 31, 2025 16:3464,365555,669,612533,230,0001,000,0002,269,184
10Jan 31, 2025 16:3464,366558,802,602533,241,0001,000,0002,269,184
11Feb 3, 2025 15:5064,368561,342,878534,255,00002,269,184
12Jan 31, 2025 16:3464,383563,791,943532,377,0002,001,0002,482,176
13Jan 31, 2025 16:3464,389564,485,166532,435,0001,997,0002,269,184
14Jan 31, 2025 16:3464,454563,645,858533,968,000999,0002,400,256
15Feb 3, 2025 15:5064,458564,751,492532,000,0003,000,0002,269,184
16Jan 31, 2025 16:3464,460560,236,233533,017,0002,000,0002,269,184
17Feb 3, 2025 15:5064,464559,672,170533,052,0002,000,0002,269,184
18Feb 3, 2025 15:5064,530558,368,588532,602,0002,997,0002,273,280