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 listNov 11, 2024 08:35ivanivanScore: 90,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 08:4389,748770,145,167513,936,000230,971,0002,297,856
2Nov 11, 2024 08:3590,047778,259,158514,583,000232,811,0002,289,664
3Nov 11, 2024 08:3590,047774,073,669513,584,000233,810,0002,433,024
4Nov 11, 2024 08:3590,056773,342,241514,633,000232,834,0002,465,792
5Nov 11, 2024 08:4390,069780,637,114513,709,000233,867,0002,457,600
6Nov 11, 2024 08:3590,073773,872,653513,727,000233,875,0002,473,984
7Nov 11, 2024 08:3590,092771,164,381513,837,000233,925,0002,461,696
8Nov 11, 2024 08:3590,114775,445,262513,965,000233,984,0002,453,504
9Nov 11, 2024 08:3590,144772,846,801514,449,000233,749,0002,289,664
10Nov 11, 2024 08:3590,193774,001,521514,728,000233,876,0002,363,392
11Nov 11, 2024 08:4390,193773,614,800513,729,000234,876,0002,310,144
12Nov 11, 2024 08:3590,200771,828,043514,769,000233,895,0002,289,664