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 10, 2023 09:24matsuoka-601matsuoka-601Score: 11,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2023 09:2410,336141,108,91885,792,61402,285,568
2Nov 10, 2023 09:2410,347152,909,53485,877,73102,277,376
3Nov 10, 2023 09:2410,486150,547,75187,030,32202,281,472
4Nov 10, 2023 09:2410,998116,011,73689,275,0002,006,0002,260,992
5Nov 10, 2023 09:2411,021118,754,75491,473,00002,285,568
6Nov 10, 2023 09:2411,026113,163,16791,516,00002,265,088
7Nov 10, 2023 09:2411,032120,612,04790,557,0001,006,0002,269,184
8Nov 10, 2023 09:2411,033123,209,29090,569,0001,006,0002,285,568
9Nov 10, 2023 09:2411,033123,261,21590,566,0001,006,0002,285,568
10Nov 10, 2023 09:2411,047117,038,62789,696,0001,993,0002,265,088
11Nov 10, 2023 09:2411,060112,734,66290,804,000997,0002,285,568
12Nov 10, 2023 09:2411,063119,821,45789,829,0001,996,0002,260,992
13Nov 10, 2023 09:2411,222118,935,03991,143,0002,003,0002,285,568
14Nov 10, 2023 09:2411,268117,927,45892,523,0001,005,0002,342,912
15Nov 10, 2023 09:2411,800121,286,25395,939,0001,998,0002,285,568