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 listJan 22, 2023 09:15unsatcoreunsatcoreScore: 11,267Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2023 09:2411,155120,959,01592,586,00002,523,136
2Jan 22, 2023 09:2411,162121,124,25792,644,00002,277,376
3Jan 22, 2023 09:1511,181121,782,36591,803,000997,0002,277,376
4Jan 22, 2023 09:1511,184123,930,13389,836,0002,994,0002,277,376
5Jan 22, 2023 09:1511,231151,384,98293,219,44802,285,568
6Jan 22, 2023 09:2411,259129,004,50292,445,0001,004,0002,281,472
7Jan 22, 2023 09:1511,261117,784,86592,462,0001,005,0002,277,376
8Jan 22, 2023 09:1511,261114,498,95392,461,0001,005,0002,277,376
9Jan 22, 2023 09:2411,262114,751,32091,461,0002,010,0002,277,376
10Jan 22, 2023 09:1511,263116,469,38091,474,0002,010,0002,265,088
11Jan 22, 2023 09:1511,265116,737,49492,492,0001,005,0002,277,376
12Jan 22, 2023 09:2411,267121,165,21892,510,0001,005,0002,277,376
13Jan 22, 2023 09:1511,267125,532,89492,511,0001,005,0002,277,376
14Jan 22, 2023 09:2411,269121,807,48892,530,0001,005,0002,277,376
15Jan 22, 2023 09:1511,278122,147,65391,596,0002,013,0002,277,376
16Jan 22, 2023 09:1511,287118,113,45191,672,0002,014,0002,277,376
17Jan 22, 2023 09:2411,300120,145,91890,800,0002,993,0002,277,376
18Jan 22, 2023 09:2411,302121,483,33192,810,000997,0002,265,088
19Jan 22, 2023 09:2411,305120,133,24790,837,0002,994,0002,523,136
20Jan 22, 2023 09:1511,331148,581,41694,047,43702,277,376
21Jan 22, 2023 09:2411,342161,913,89594,135,65002,281,472
22Jan 22, 2023 09:2411,461162,703,01495,122,30402,269,184
23Jan 22, 2023 09:2411,572161,391,14596,043,80002,285,568
24Jan 22, 2023 09:1511,667148,800,37196,832,21602,285,568