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 30, 2024 12:10Anoushk KharangateAnoushk KharangateScore: 49,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2024 12:1049,309479,160,484409,261,81002,297,856
2Apr 30, 2024 12:1149,315479,706,710409,311,98102,174,976
3Apr 30, 2024 12:1249,324472,997,789409,385,58102,293,760
4Apr 30, 2024 12:0849,326464,834,611409,401,79602,248,704
5Apr 30, 2024 12:1149,336475,063,384409,487,82102,297,856
6Apr 30, 2024 12:0749,349483,116,973409,599,16602,297,856
7Apr 30, 2024 12:1049,349464,635,508409,595,09202,301,952
8Apr 30, 2024 12:1149,362461,126,276409,705,94102,297,856
9Apr 30, 2024 12:0849,368469,949,894409,750,68102,293,760
10Apr 30, 2024 12:1149,388462,567,456409,917,27702,297,856
11Apr 30, 2024 12:1249,392468,074,787409,955,00602,301,952
12Apr 30, 2024 12:0749,398471,023,295410,003,21802,293,760
13Apr 30, 2024 12:0749,399472,973,645410,008,52302,301,952
14Apr 30, 2024 12:1249,400465,867,151410,020,21702,293,760
15Apr 30, 2024 12:1249,402465,734,550410,032,87102,301,952
16Apr 30, 2024 12:1249,402460,503,729410,040,26002,297,856
17Apr 30, 2024 12:1149,406468,387,314410,070,50202,179,072
18Apr 30, 2024 12:1049,410466,259,508410,101,74702,297,856
19Apr 30, 2024 12:1049,413472,134,838410,127,26602,301,952
20Apr 30, 2024 12:1049,414467,974,359410,133,93402,301,952
21Apr 30, 2024 12:0849,439465,847,926410,342,41502,297,856
22Apr 30, 2024 12:1149,447465,359,030410,410,22202,306,048
23Apr 30, 2024 12:1049,499469,732,335410,843,46902,306,048
24Apr 30, 2024 12:1249,501467,803,481410,854,41402,301,952