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 listJul 3, 2021 18:16Sergey SamokhvalovSergey SamokhvalovScore: 27,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2021 18:1627,167246,811,243168,365,00057,124,0002,375,680
2Jul 3, 2021 18:1627,171270,104,680225,521,22502,289,664
3Jul 3, 2021 18:1627,249255,883,541169,125,00057,042,0002,359,296
4Jul 3, 2021 18:1627,257253,883,584161,167,00065,067,0002,379,776
5Jul 3, 2021 18:1627,262266,398,373226,272,39502,293,760
6Jul 3, 2021 18:1627,267257,161,808175,243,00051,070,0002,318,336
7Jul 3, 2021 18:1627,318261,536,999170,805,00055,936,0002,269,184
8Jul 3, 2021 18:1627,321251,283,349166,827,00059,937,0002,318,336
9Jul 3, 2021 18:1627,363255,778,042163,083,00064,032,0002,379,776
10Jul 3, 2021 18:1627,402266,952,201227,439,31302,289,664
11Jul 3, 2021 18:1627,433249,485,400167,773,00059,919,0002,269,184
12Jul 3, 2021 18:1627,498255,438,314167,171,00061,062,0002,318,336