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 14, 2023 19:17unsatcoreunsatcoreScore: 54,309Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2023 19:1954,260509,238,828450,360,42402,289,664
2Jan 14, 2023 19:1954,283507,118,537450,551,41602,281,472
3Jan 14, 2023 19:1754,284509,391,355450,554,47702,277,376
4Jan 14, 2023 19:1954,287517,490,588450,579,62802,289,664
5Jan 14, 2023 19:1754,289506,925,402450,599,25502,285,568
6Jan 14, 2023 19:1754,291505,133,739450,612,75502,297,856
7Jan 14, 2023 19:1754,295512,433,230450,644,60902,277,376
8Jan 14, 2023 19:1754,295516,500,690450,648,47302,293,760
9Jan 14, 2023 19:1854,297516,970,328450,667,04602,293,760
10Jan 14, 2023 19:1954,299519,736,061450,677,79902,285,568
11Jan 14, 2023 19:1954,299522,953,718450,685,42602,285,568
12Jan 14, 2023 19:1854,300528,157,770450,690,63602,293,760
13Jan 14, 2023 19:1854,304525,803,958450,726,71902,277,376
14Jan 14, 2023 19:1754,306512,566,214450,740,67502,281,472
15Jan 14, 2023 19:1954,307516,277,416450,744,95702,297,856
16Jan 14, 2023 19:1754,309520,194,868450,767,67702,306,048
17Jan 14, 2023 19:1754,309521,808,344450,768,19502,289,664
18Jan 14, 2023 19:1854,311516,341,707450,778,56202,285,568
19Jan 14, 2023 19:1754,312511,330,858450,791,16302,285,568
20Jan 14, 2023 19:1754,313514,521,005450,794,66902,281,472
21Jan 14, 2023 19:1754,317516,653,881450,833,32202,289,664
22Jan 14, 2023 19:1854,319521,837,180450,843,72002,285,568
23Jan 14, 2023 19:1854,319517,432,237450,846,64002,289,664
24Jan 14, 2023 19:1754,319519,665,989450,849,44902,285,568
25Jan 14, 2023 19:1754,324521,814,902450,890,83902,285,568
26Jan 14, 2023 19:1754,333515,340,571450,964,11602,281,472
27Jan 14, 2023 19:1854,343517,381,797451,050,20802,277,376
28Jan 14, 2023 19:1754,349521,747,809451,099,91402,285,568
29Jan 14, 2023 19:1854,363531,609,100451,212,79402,281,472
30Jan 14, 2023 19:1854,394513,439,985451,468,68102,285,568