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 listMar 15, 2026 13:13tqbfjotld-0tqbfjotld-0Score: 50,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2026 13:1249,549434,027,956410,256,0001,000,0002,289,664
2Mar 15, 2026 13:1249,861435,949,694411,847,0001,999,0002,269,184
3Mar 15, 2026 13:1249,871436,772,469411,927,0001,999,0002,285,568
4Mar 15, 2026 13:1349,938444,979,515413,487,000998,0002,285,568
5Mar 15, 2026 13:1349,951443,983,028413,592,000999,0002,285,568
6Mar 15, 2026 13:1249,964443,718,400412,704,0001,998,0002,277,376
7Mar 15, 2026 13:1249,993435,954,358412,943,0001,999,0002,285,568
8Mar 15, 2026 13:1350,105442,325,480413,872,0001,999,0002,285,568
9Mar 15, 2026 13:1350,157452,430,521415,300,0001,000,0002,269,184
10Mar 15, 2026 13:1350,166442,576,351415,377,0001,000,0002,285,568
11Mar 15, 2026 13:1250,169449,440,229415,400,0001,000,0002,285,568
12Mar 15, 2026 13:1250,201440,117,377414,672,0001,998,0002,285,568
13Mar 15, 2026 13:1350,224442,226,420414,860,0001,999,0002,269,184
14Mar 15, 2026 13:1350,237439,838,104413,970,0002,999,0002,285,568
15Mar 15, 2026 13:1350,253442,838,586417,096,00002,285,568
16Mar 15, 2026 13:1350,303448,683,013416,515,000998,0002,285,568
17Mar 15, 2026 13:1250,313444,220,316416,602,000999,0002,285,568
18Mar 15, 2026 13:1250,391439,625,521417,242,0001,000,0002,519,040