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 17, 2024 00:43zielajzielajScore: 3,657Success
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 23:153,52354,669,24528,233,0001,008,0002,523,136
2Nov 16, 2024 20:503,52351,207,08527,226,0002,016,0002,527,232
3Nov 16, 2024 20:503,52652,638,38528,259,0001,009,0002,527,232
4Nov 16, 2024 20:503,53051,034,35828,288,0001,010,0002,527,232
5Nov 16, 2024 20:503,53151,076,62828,299,0001,010,0002,445,312
6Nov 16, 2024 20:503,53154,799,22928,296,0001,010,0002,347,008
7Nov 16, 2024 23:153,53253,304,89128,303,0001,010,0002,523,136
8Nov 16, 2024 20:503,53451,822,29628,322,0001,011,0002,527,232
9Nov 17, 2024 00:423,53553,051,33229,344,00002,277,376
10Nov 16, 2024 20:503,53751,012,55227,336,0002,024,0002,523,136
11Nov 16, 2024 20:503,54356,441,04128,394,0001,014,0002,355,200
12Nov 16, 2024 23:153,55354,940,03629,487,00002,527,232
13Nov 16, 2024 20:503,57058,489,99028,608,0001,021,0002,523,136
14Nov 17, 2024 00:423,57463,433,52229,662,00002,347,008
15Nov 17, 2024 00:423,59858,208,35428,870,000995,0002,273,280
16Nov 17, 2024 00:433,65755,888,34530,355,00002,351,104
17Nov 17, 2024 00:433,68459,812,40530,581,00002,523,136
18Nov 16, 2024 20:503,71854,326,02729,866,000995,0002,277,376
19Nov 16, 2024 23:153,74254,259,63130,058,0001,001,0002,277,376
20Nov 17, 2024 00:423,76356,352,96030,227,0001,007,0002,363,392
21Nov 16, 2024 23:153,78159,822,05230,371,0001,012,0002,355,200
22Nov 17, 2024 00:433,78358,022,38229,434,0001,962,0002,527,232
23Nov 16, 2024 23:153,78458,751,41430,393,0001,013,0002,347,008
24Nov 16, 2024 20:503,79351,174,73131,482,00002,363,392
25Nov 16, 2024 20:503,81459,431,25731,660,00002,531,328
26Nov 17, 2024 00:433,96957,448,26931,945,000998,0002,277,376
27Nov 17, 2024 00:424,00356,808,77532,218,0001,006,0002,269,184
28Nov 17, 2024 00:424,04658,596,47232,565,0001,017,0002,359,296
29Nov 17, 2024 00:434,08763,134,15832,924,000997,0002,363,392
30Nov 17, 2024 00:434,10160,494,65733,040,0001,001,0002,269,184