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 14, 2024 02:48zielajzielajError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 02:4500000Error: Killed by timeoutstderr
2Nov 14, 2024 02:485,19473,435,03041,102,0002,005,0002,310,144
3Nov 14, 2024 02:485,19860,954,04441,138,0002,006,0002,473,984
4Nov 14, 2024 02:485,19867,724,25541,138,0002,006,0002,469,888
5Nov 14, 2024 02:465,20374,549,78742,180,0001,004,0002,310,144
6Nov 14, 2024 02:485,20764,019,11242,213,0001,005,0002,473,984
7Nov 14, 2024 02:465,21469,867,48541,267,0002,013,0002,322,432
8Nov 14, 2024 02:485,21464,123,49842,269,0001,006,0002,469,888
9Nov 14, 2024 02:465,22663,468,70042,368,0001,008,0002,306,048
10Nov 14, 2024 02:485,22968,702,22841,385,0002,018,0002,301,952
11Nov 14, 2024 02:465,22963,440,57143,401,00002,408,448
12Nov 14, 2024 02:465,22974,234,36442,390,0001,009,0002,306,048
13Nov 14, 2024 02:465,23375,843,50742,420,0001,010,0002,473,984
14Nov 14, 2024 02:485,23865,684,78241,452,0002,022,0002,314,240
15Nov 14, 2024 02:485,24268,435,96742,500,0001,011,0002,310,144
16Nov 14, 2024 02:485,26072,474,83342,640,0001,015,0002,322,432
17Nov 14, 2024 02:465,28272,912,52042,843,000996,0002,314,240
18Nov 14, 2024 02:465,32766,254,99342,208,0002,009,0002,310,144
19Nov 14, 2024 02:465,44677,474,77943,191,0002,008,0002,469,888
20Nov 14, 2024 02:466,87083,135,48756,022,0001,000,0002,355,200
21Nov 14, 2024 02:466,88977,701,97356,177,0001,003,0002,510,848
22Nov 14, 2024 02:486,92077,271,13657,434,00002,375,680
23Nov 14, 2024 02:466,92687,519,65956,474,0001,008,0002,367,488
24Nov 14, 2024 02:486,93185,132,09957,529,00002,510,848
25Nov 14, 2024 02:486,94182,462,88457,607,00002,359,296