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 listDec 31, 2024 13:01scompa18scompa18Score: 62,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2024 13:1162,155538,629,297465,897,00049,988,0002,289,664
2Dec 31, 2024 13:1162,167538,468,598457,991,00057,998,0002,289,664
3Jan 5, 2025 11:3962,185542,594,670459,122,00057,015,0002,498,560
4Dec 31, 2024 13:1162,188541,092,114467,149,00049,015,0002,289,664
5Jan 5, 2025 11:3962,194538,127,769457,189,00059,024,0002,289,664
6Jan 5, 2025 11:3962,196546,238,407461,205,00055,024,0002,494,464
7Dec 31, 2024 13:1162,208550,033,439460,288,00056,035,0002,502,656
8Jan 5, 2025 11:3962,221543,485,236459,390,00057,048,0002,289,664
9Jan 5, 2025 11:3962,225547,397,562463,520,00052,945,0002,289,664
10Jan 5, 2025 11:3962,236543,777,429467,602,00048,958,0002,289,664
11Jan 5, 2025 11:3962,241547,713,327462,643,00053,958,0002,289,664
12Jan 5, 2025 11:3962,253537,116,415456,735,00059,965,0002,494,464
13Jan 5, 2025 11:3962,273546,010,714458,883,00057,985,0002,498,560
14Dec 31, 2024 13:1162,283538,687,600470,953,00045,995,0002,289,664
15Dec 31, 2024 13:1162,332543,541,157466,322,00051,035,0002,498,560
16Dec 31, 2024 13:1162,342543,682,629465,396,00052,044,0002,289,664
17Dec 31, 2024 13:1162,390539,258,098445,861,00071,977,0002,277,376
18Dec 31, 2024 13:1162,453548,122,618467,328,00051,035,0002,326,528
19Dec 31, 2024 13:1263,374551,415,605462,002,00064,000,0002,265,088
20Dec 31, 2024 13:1263,381550,221,564463,053,00063,007,0002,281,472
21Dec 31, 2024 13:1263,435555,850,028462,569,00063,940,0002,289,664
22Dec 31, 2024 13:0169,188594,369,108490,224,00084,038,0002,293,760
23Dec 31, 2024 13:0169,197601,377,938482,285,00092,054,0002,273,280
24Dec 31, 2024 13:0169,233596,936,502492,688,00081,948,0002,281,472
25Dec 31, 2024 13:0169,254604,628,786477,839,00096,967,0002,289,664
26Dec 31, 2024 13:0169,256604,725,571478,852,00095,970,0002,265,088
27Dec 31, 2024 13:0169,265602,226,746477,918,00096,983,0002,289,664
28Dec 31, 2024 13:0169,274604,655,533485,978,00088,996,0002,289,664
29Dec 31, 2024 13:0169,290602,249,371500,094,00075,014,0002,289,664
30Dec 31, 2024 13:0169,300601,816,789485,163,00090,030,0002,281,472