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 listApr 29, 2024 17:51Steve HanSteve HanScore: 16,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 19:1815,964188,860,815132,498,89602,297,856
2Apr 29, 2024 17:5115,978209,471,047132,616,91102,174,976
3Apr 29, 2024 19:0615,990193,948,375132,716,87502,297,856
4Apr 29, 2024 19:1115,997188,903,815132,775,65802,306,048
5Apr 29, 2024 17:5116,002198,302,983132,820,30802,297,856
6Apr 29, 2024 19:0616,002205,157,851132,813,43202,174,976
7Apr 29, 2024 19:0616,012191,599,230132,903,61102,301,952
8Apr 29, 2024 19:1816,016207,286,185132,936,20802,301,952
9Apr 29, 2024 17:5216,019185,244,113132,954,92502,179,072
10Apr 29, 2024 19:0716,019209,261,121132,959,97402,306,048
11Apr 29, 2024 19:1516,033204,037,941133,072,35702,183,168
12Apr 29, 2024 19:1516,041193,886,572133,141,04402,297,856
13Apr 29, 2024 18:3916,046198,442,310133,184,53602,183,168
14Apr 29, 2024 17:5116,046198,271,604133,177,86302,293,760
15Apr 29, 2024 19:1616,051193,225,479133,221,57502,297,856
16Apr 29, 2024 19:1216,059208,005,213133,292,02502,297,856
17Apr 29, 2024 19:1616,060190,104,972133,297,18002,297,856
18Apr 29, 2024 19:0616,062193,839,924133,317,71502,297,856
19Apr 29, 2024 19:1816,081190,643,088133,475,87102,297,856
20Apr 29, 2024 19:0616,125205,653,404133,837,73602,293,760
21Apr 29, 2024 19:1516,188187,007,677134,361,28902,301,952
22Apr 29, 2024 19:1616,713222,980,434138,719,58702,301,952
23Apr 29, 2024 19:0716,715204,623,610138,737,04902,293,760
24Apr 29, 2024 19:1116,717212,843,578138,751,69402,179,072
25Apr 29, 2024 19:1216,719233,113,724138,769,53602,174,976
26Apr 29, 2024 19:0616,719204,387,236138,765,38802,297,856
27Apr 29, 2024 19:1116,742206,588,244138,954,98702,289,664
28Apr 29, 2024 19:1216,749200,817,741139,013,56502,297,856
29Apr 29, 2024 18:3916,768208,374,359139,172,30702,306,048
30Apr 29, 2024 18:3916,775212,170,859139,228,36202,297,856
31Apr 29, 2024 19:0716,776207,522,179139,237,85902,174,976
32Apr 29, 2024 17:5216,798202,453,406139,419,59302,174,976
33Apr 29, 2024 17:5216,902201,566,832140,290,30302,301,952