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 8, 2024 17:54Alexey TarasovAlexey TarasovScore: 69,956Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2024 17:5469,928607,312,066579,401,0001,000,0002,371,584
2Nov 8, 2024 17:5469,931606,920,629580,426,00002,297,856
3Nov 8, 2024 17:5469,934605,888,229579,449,0001,000,0002,297,856
4Nov 8, 2024 17:5469,948606,823,266579,568,000999,0002,297,856
5Nov 8, 2024 17:5469,949607,303,315579,578,000999,0002,297,856
6Nov 8, 2024 17:5469,949606,379,497578,576,0001,998,0002,297,856
7Nov 8, 2024 17:5469,950612,418,623578,590,0001,998,0002,297,856
8Nov 8, 2024 17:5469,950609,562,062578,586,0001,998,0002,297,856
9Nov 8, 2024 17:5469,951606,505,261578,596,0001,998,0002,293,760
10Nov 8, 2024 17:5469,952612,117,876578,604,0001,998,0002,375,680
11Nov 8, 2024 17:5469,953609,068,484578,614,0001,998,0002,469,888
12Nov 8, 2024 17:5469,954611,951,883579,616,000999,0002,289,664
13Nov 8, 2024 17:5469,955606,279,979580,623,00002,297,856
14Nov 8, 2024 17:5469,956605,421,242579,637,000999,0002,297,856
15Nov 8, 2024 17:5469,956608,400,449579,637,000999,0002,293,760
16Nov 8, 2024 17:5469,961609,503,913578,682,0001,998,0002,367,488
17Nov 8, 2024 17:5469,967611,467,030579,727,000999,0002,375,680
18Nov 8, 2024 17:5469,967611,124,073578,730,0001,999,0002,297,856
19Nov 8, 2024 17:5469,977606,485,886578,806,0001,999,0002,371,584
20Nov 8, 2024 17:5469,981608,230,426578,843,0001,999,0002,293,760
21Nov 8, 2024 17:5469,983607,669,576578,860,0001,999,0002,293,760
22Nov 8, 2024 17:5469,984602,414,155578,872,0001,999,0002,297,856
23Nov 8, 2024 17:5470,007602,139,171580,062,0001,000,0002,367,488
24Nov 8, 2024 17:5470,042606,197,644580,348,0001,000,0002,367,488
25Nov 8, 2024 17:5470,051611,718,269581,421,00002,297,856
26Nov 8, 2024 17:5470,071611,059,571580,588,000999,0002,297,856
27Nov 8, 2024 17:5470,071609,252,552580,589,000999,0002,297,856