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 23, 2024 12:48NoSIMD_C#NoSIMD_C#Score: 62,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 16, 2024 18:1662,240544,065,558438,651,00077,938,0002,453,504
2Nov 23, 2024 12:4862,244542,950,419448,675,00067,950,0002,437,120
3Nov 16, 2024 18:1662,253544,953,044455,738,00060,965,0002,461,696
4Nov 16, 2024 18:1662,279541,355,925458,928,00057,990,0002,461,696
5Nov 16, 2024 18:1662,287546,979,716447,985,00068,997,0002,441,216
6Nov 16, 2024 18:1662,315548,115,750451,190,00066,027,0002,469,888
7Nov 23, 2024 12:4862,330543,228,493453,296,00064,041,0002,293,760
8Nov 16, 2024 18:1662,360545,435,889459,631,00057,953,0002,457,600
9Nov 16, 2024 18:1662,367546,319,247462,684,00054,962,0002,461,696
10Nov 23, 2024 12:4862,375545,841,780465,741,00051,971,0002,301,952
11Nov 16, 2024 18:1662,397542,530,015452,909,00064,986,0002,293,760
12Nov 16, 2024 18:1662,400545,408,914458,932,00058,991,0002,523,136