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 15, 2024 03:26zielajzielajScore: 3,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2024 02:383,55551,378,81729,506,00002,351,104
2Nov 15, 2024 02:383,56253,139,60629,564,00002,523,136
3Nov 15, 2024 02:383,56860,301,09129,618,00002,351,104
4Nov 15, 2024 02:383,57256,762,42829,648,00002,527,232
5Nov 15, 2024 02:383,57359,416,03729,660,00002,351,104
6Nov 15, 2024 02:383,57755,832,45628,662,0001,023,0002,523,136
7Nov 15, 2024 02:383,59351,446,72427,834,0001,988,0002,527,232
8Nov 15, 2024 03:263,59560,958,04927,853,0001,989,0002,273,280
9Nov 15, 2024 03:263,60054,150,82028,881,000995,0002,342,912
10Nov 15, 2024 03:263,60250,862,23427,905,0001,993,0002,342,912
11Nov 15, 2024 02:383,60351,094,44427,913,0001,993,0002,523,136
12Nov 15, 2024 02:383,60353,797,04128,907,000996,0002,355,200
13Nov 15, 2024 03:263,76650,359,09730,251,0001,008,0002,531,328
14Nov 15, 2024 02:383,77051,753,19829,269,0002,018,0002,269,184
15Nov 15, 2024 02:383,77756,236,51930,337,0001,011,0002,355,200
16Nov 15, 2024 03:263,78351,928,66531,398,00002,277,376
17Nov 15, 2024 03:263,79751,372,30131,516,00002,527,232
18Nov 15, 2024 02:383,79855,842,80230,507,0001,016,0002,531,328