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 listSep 20, 2024 16:23Dibash ThapaDibash ThapaScore: 366,371Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 17:26364,0093,053,114,8282,959,312,00061,964,0002,289,664
2Sep 17, 2024 17:26364,8163,056,439,2712,978,988,00048,983,0002,289,664
3Sep 17, 2024 17:26365,0453,057,392,5402,955,898,00073,972,0002,281,472
4Sep 17, 2024 17:26365,4633,059,113,8472,956,386,00076,958,0002,281,472
5Sep 20, 2024 16:23365,8643,059,236,7802,981,697,00054,975,0002,281,472
6Sep 17, 2024 17:26366,3623,067,674,5492,977,848,00062,954,0002,289,664
7Sep 17, 2024 17:26366,3713,072,842,6452,974,903,00065,975,0002,289,664
8Sep 17, 2024 17:26367,4323,078,839,2702,998,706,00050,978,0002,363,392
9Sep 17, 2024 17:26367,9023,079,673,0082,998,610,00054,974,0002,359,296
10Sep 20, 2024 16:23371,6143,108,553,1093,017,432,00066,965,0002,363,392
11Sep 20, 2024 16:23375,5923,144,868,1943,034,458,00082,957,0002,289,664
12Sep 17, 2024 17:26385,2503,222,552,0823,120,613,00076,965,0002,289,664