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 24, 2023 16:05unsatcoreunsatcoreScore: 12,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2023 16:0511,967166,129,64299,328,61502,277,376
2Jan 24, 2023 16:0511,997169,605,85899,578,42802,281,472
3Jan 24, 2023 16:0512,040124,350,87494,937,0004,996,0002,514,944
4Jan 24, 2023 16:0512,041128,872,03395,942,0003,997,0002,519,040
5Jan 24, 2023 16:0512,081122,456,31497,266,0003,008,0002,277,376
6Jan 24, 2023 16:0512,084170,294,507100,299,70802,277,376
7Jan 24, 2023 16:0512,090156,627,653100,349,44802,281,472
8Jan 24, 2023 16:0512,125129,682,77499,629,0001,006,0002,383,872
9Jan 24, 2023 16:0512,127127,987,15199,645,0001,006,0002,523,136
10Jan 24, 2023 16:0512,140126,142,43199,765,000997,0002,277,376
11Jan 24, 2023 16:0512,146127,300,70398,813,0001,996,0002,355,200
12Jan 24, 2023 16:0512,147121,842,70597,828,0002,994,0002,277,376
13Jan 24, 2023 16:0512,160122,919,46698,930,0001,998,0002,277,376
14Jan 24, 2023 16:0512,188124,046,47399,155,0002,003,0002,519,040
15Jan 24, 2023 16:0512,233130,627,419100,530,0001,005,0002,523,136
16Jan 24, 2023 16:0512,252157,345,160101,689,93802,277,376
17Jan 24, 2023 16:0512,276127,738,56299,891,0001,997,0002,527,232
18Jan 24, 2023 16:0512,282163,563,632101,937,70102,269,184
19Jan 24, 2023 16:0512,303125,093,823100,114,0002,002,0002,519,040
20Jan 24, 2023 16:0512,308123,483,649100,152,0002,003,0002,277,376
21Jan 24, 2023 16:0512,328124,241,372102,319,00002,277,376
22Jan 24, 2023 16:0512,341129,961,21797,413,0005,021,0002,523,136
23Jan 24, 2023 16:0512,345126,177,56497,445,0005,022,0002,510,848
24Jan 24, 2023 16:0512,412129,868,05898,018,0005,000,0002,519,040