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 listNov 8, 2023 10:57Robert BurkeRobert BurkeScore: 7,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2023 10:577,40088,293,31461,424,00002,428,928
2Nov 8, 2023 10:577,41584,956,08961,546,00002,277,376
3Nov 8, 2023 10:577,42490,629,81861,616,00002,277,376
4Nov 8, 2023 10:577,45385,413,12760,865,000997,0002,428,928
5Nov 8, 2023 10:577,45786,525,52060,896,000998,0002,539,520
6Nov 8, 2023 10:577,45785,299,01060,898,000998,0002,277,376
7Nov 8, 2023 10:577,46386,959,89460,948,000999,0002,437,120
8Nov 8, 2023 10:577,47583,458,85561,039,0001,000,0002,428,928
9Nov 8, 2023 10:577,47786,944,28960,054,0002,001,0002,433,024
10Nov 8, 2023 10:577,47884,681,11461,064,0001,001,0002,433,024
11Nov 8, 2023 10:577,48286,233,08162,102,00002,277,376
12Nov 8, 2023 10:577,50383,414,24561,273,0001,004,0002,420,736
13Nov 8, 2023 10:577,783125,113,94064,602,44102,297,856
14Nov 8, 2023 10:577,798121,515,57064,725,74602,174,976
15Nov 8, 2023 10:577,812121,254,39764,838,15402,301,952