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 11:38Anoushk KharangateAnoushk KharangateScore: 50,983Success
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 11:3850,802489,481,659421,652,56002,183,168
2Apr 30, 2024 11:3850,917489,837,430422,610,31102,179,072
3Apr 30, 2024 11:3850,926485,232,681422,685,15002,293,760
4Apr 30, 2024 11:3950,941489,685,873422,806,48602,293,760
5Apr 30, 2024 11:3950,966483,760,923423,017,29002,297,856
6Apr 30, 2024 11:3950,981490,715,088423,140,25802,297,856
7Apr 30, 2024 11:3650,983479,390,315423,161,36702,301,952
8Apr 30, 2024 11:3651,001496,404,099423,307,02502,174,976
9Apr 30, 2024 11:3651,023483,484,148423,488,92602,301,952
10Apr 30, 2024 11:3852,644495,312,660436,941,66302,297,856
11Apr 30, 2024 11:3852,696508,374,257437,374,89802,301,952
12Apr 30, 2024 11:3852,731501,790,667437,665,93702,174,976