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 listJun 7, 2024 17:46GraceGraceScore: 79,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:4679,211725,546,662657,449,40202,260,992
2Jun 7, 2024 17:4679,269713,627,541657,928,66202,273,280
3Jun 7, 2024 17:4679,270719,081,243657,941,67902,277,376
4Jun 7, 2024 17:4679,298714,726,255658,174,11102,269,184
5Jun 7, 2024 17:4679,386733,409,148658,901,00302,269,184
6Jun 7, 2024 17:4679,422729,137,520659,201,98402,269,184
7Jun 7, 2024 17:4679,443725,591,141659,376,04102,269,184
8Jun 7, 2024 17:4679,507723,900,615659,910,98902,281,472
9Jun 7, 2024 17:4679,541716,737,209660,191,19802,265,088
10Jun 7, 2024 17:4679,571738,199,976660,436,22702,396,160
11Jun 7, 2024 17:4679,663725,804,609661,200,03802,277,376
12Jun 7, 2024 17:4679,773719,403,491662,117,36502,269,184