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 listDec 27, 2024 16:13Uladzislau NestsiarukUladzislau NestsiarukScore: 95,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2024 16:1795,721825,030,647734,523,00059,961,0002,289,664
2Dec 27, 2024 16:1795,735817,938,777729,630,00064,967,0002,289,664
3Dec 27, 2024 16:1795,774816,358,572736,931,00057,994,0002,277,376
4Dec 27, 2024 16:1795,789817,738,486734,043,00061,003,0002,277,376
5Dec 27, 2024 16:1795,798823,507,524738,117,00057,009,0002,277,376
6Dec 27, 2024 16:1795,798823,279,960733,111,00062,009,0002,289,664
7Dec 27, 2024 16:1795,804821,576,997733,160,00062,013,0002,277,376
8Dec 27, 2024 16:1795,809821,579,742736,197,00059,015,0002,289,664
9Dec 27, 2024 16:1795,837823,963,060730,495,00064,955,0002,277,376
10Dec 27, 2024 16:2195,924825,860,929740,156,00056,011,0002,277,376
11Dec 27, 2024 16:1396,054824,473,208738,233,00059,018,0002,289,664
12Dec 27, 2024 16:2196,079825,998,767733,501,00063,956,0002,277,376
13Dec 27, 2024 16:1396,117820,942,486736,787,00060,982,0002,269,184
14Dec 27, 2024 16:2196,120823,211,275740,815,00056,985,0002,277,376
15Dec 27, 2024 16:1396,127824,229,614739,864,00057,989,0002,273,280