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 5, 2023 23:52sliceteamsliceteamScore: 10,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2023 23:3710,060150,352,81783,497,81502,281,472
2Nov 5, 2023 23:5210,061155,406,61083,502,87002,281,472
3Nov 5, 2023 23:5210,061157,760,45083,504,05302,277,376
4Nov 5, 2023 23:3710,065147,889,12383,542,31402,281,472
5Nov 5, 2023 23:5210,068139,925,22783,566,69602,281,472
6Nov 5, 2023 23:3710,101109,193,06682,841,000998,0002,396,160
7Nov 5, 2023 23:3710,103144,932,07583,858,79902,285,568
8Nov 5, 2023 23:3710,103106,347,44282,860,000998,0002,273,280
9Nov 5, 2023 23:5210,110112,306,95681,915,0001,997,0002,392,064
10Nov 5, 2023 23:5210,114110,592,46581,946,0001,998,0002,396,160
11Nov 5, 2023 23:5210,114105,433,88581,947,0001,998,0002,404,352
12Nov 5, 2023 23:3710,116103,548,48982,966,000999,0002,514,944
13Nov 5, 2023 23:3710,119107,648,30781,991,0001,999,0002,273,280
14Nov 5, 2023 23:5210,121111,266,91483,007,0001,000,0002,400,256
15Nov 5, 2023 23:5210,121109,036,08482,005,0002,000,0002,412,544
16Nov 5, 2023 23:3710,124111,215,16282,029,0002,000,0002,273,280
17Nov 5, 2023 23:5210,124112,899,67083,029,0001,000,0002,273,280
18Nov 5, 2023 23:3710,125107,103,32483,036,0001,000,0002,273,280
19Nov 5, 2023 23:5210,126106,979,75182,044,0002,001,0002,273,280
20Nov 5, 2023 23:5210,126103,726,61383,043,0001,000,0002,273,280
21Nov 5, 2023 23:3710,127112,661,54582,051,0002,001,0002,404,352
22Nov 5, 2023 23:5210,127112,950,20583,050,0001,000,0002,273,280
23Nov 5, 2023 23:3710,128109,746,09583,059,0001,000,0002,273,280
24Nov 5, 2023 23:5210,131104,535,08683,085,0001,001,0002,273,280
25Nov 5, 2023 23:3710,131114,795,64682,086,0002,002,0002,396,160
26Nov 5, 2023 23:5210,131105,473,11282,089,0002,002,0002,273,280
27Nov 5, 2023 23:5210,131108,177,47182,083,0002,002,0002,273,280
28Nov 5, 2023 23:3710,135107,530,43382,118,0002,002,0002,396,160
29Nov 5, 2023 23:3710,136112,290,88883,127,0001,001,0002,273,280
30Nov 5, 2023 23:3710,401118,516,50385,324,0001,003,0002,392,064