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 25, 2024 11:57AnSaAnSaScore: 46,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2024 11:5346,438448,416,457385,435,33502,256,896
2Jan 25, 2024 11:5346,439443,597,530385,447,65402,277,376
3Jan 25, 2024 17:0746,445435,800,559385,495,82702,281,472
4Jan 25, 2024 13:2546,451443,871,000385,544,62502,285,568
5Jan 25, 2024 13:2546,460442,765,945385,621,51502,281,472
6Jan 25, 2024 11:5846,462450,701,389385,637,87102,281,472
7Jan 25, 2024 11:5846,464449,945,529385,647,43202,285,568
8Jan 25, 2024 17:0746,465463,532,354385,659,46602,285,568
9Jan 25, 2024 17:0746,466444,950,076385,669,95902,281,472
10Jan 25, 2024 11:5346,466459,125,056385,664,42902,281,472
11Jan 25, 2024 12:1646,469472,639,326385,696,64602,281,472
12Jan 25, 2024 12:1646,478450,349,563385,766,99302,277,376
13Jan 25, 2024 12:1646,480446,741,963385,780,47802,285,568
14Jan 25, 2024 13:2546,487450,184,087385,844,15802,289,664
15Jan 25, 2024 11:5846,500442,416,353385,950,91802,281,472
16Jan 25, 2024 11:5755,318528,940,216459,142,63002,277,376
17Jan 25, 2024 11:5755,326528,059,449459,202,73202,285,568
18Jan 25, 2024 11:5755,344519,641,644459,355,24002,289,664