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 listJul 27, 2024 09:28Joad NacerJoad NacerScore: 7,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2024 00:247,24186,656,21859,101,0001,001,0002,273,280
2Jul 27, 2024 09:287,24386,450,22159,116,0001,001,0002,437,120
3Oct 7, 2024 00:247,24883,773,56559,158,0001,002,0002,535,424
4Jul 27, 2024 09:287,25179,730,70859,177,0001,003,0002,424,832
5Oct 7, 2024 00:247,25183,069,78059,182,0001,003,0002,273,280
6Oct 7, 2024 00:247,25282,555,55859,186,0001,003,0002,428,928
7Oct 7, 2024 00:247,25280,139,73259,185,0001,003,0002,433,024
8Oct 7, 2024 00:247,25282,135,09759,190,0001,003,0002,433,024
9Oct 7, 2024 00:247,25389,413,35859,197,0001,003,0002,428,928
10Oct 7, 2024 00:247,25488,856,70559,205,0001,003,0002,273,280
11Jul 27, 2024 09:287,25580,585,68460,218,00002,531,328
12Jul 27, 2024 09:287,25580,350,35159,217,0001,003,0002,433,024
13Oct 7, 2024 00:247,25588,643,65259,211,0001,003,0002,273,280
14Oct 7, 2024 00:247,25785,672,53858,226,0002,007,0002,437,120
15Oct 7, 2024 00:247,25788,998,08158,228,0002,007,0002,535,424
16Oct 7, 2024 00:247,25883,366,37159,235,0001,003,0002,514,944
17Oct 7, 2024 00:247,25984,491,87259,249,0001,004,0002,273,280
18Oct 7, 2024 00:247,26079,056,41358,253,0002,008,0002,514,944
19Jul 27, 2024 09:287,26185,429,96759,262,0001,004,0002,269,184
20Oct 7, 2024 00:247,26290,628,33359,268,0001,004,0002,273,280
21Oct 7, 2024 00:247,26282,915,05960,272,00002,273,280
22Oct 7, 2024 00:247,26288,759,51459,272,0001,004,0002,535,424
23Jul 27, 2024 09:287,26584,636,99759,297,0001,005,0002,269,184
24Oct 7, 2024 00:247,26784,158,63059,307,0001,005,0002,535,424
25Oct 7, 2024 00:247,26980,167,66259,331,0001,005,0002,514,944
26Oct 7, 2024 00:247,27183,210,00259,344,0001,005,0002,273,280
27Oct 7, 2024 00:247,27683,202,31959,387,0001,006,0002,535,424
28Jul 27, 2024 09:287,28082,017,60260,421,00002,531,328
29Oct 7, 2024 00:247,29783,282,34259,555,0001,009,0002,535,424
30Oct 7, 2024 00:247,31486,002,00960,710,00002,273,280
31Jul 27, 2024 09:287,39783,824,45261,395,00002,437,120
32Jul 27, 2024 09:287,44987,838,82761,828,00002,523,136
33Jul 27, 2024 09:287,502115,399,01962,270,07902,170,880
34Jul 27, 2024 09:287,512124,569,63162,347,89002,285,568
35Jul 27, 2024 09:287,523126,729,44862,438,75802,293,760
36Oct 7, 2024 00:247,77588,517,62263,523,0001,008,0002,424,832
37Oct 7, 2024 00:248,290100,514,61167,808,000997,0002,428,928
38Jul 27, 2024 09:288,29092,161,75667,812,000997,0002,531,328
39Oct 7, 2024 00:248,29397,380,61067,831,000997,0002,531,328
40Oct 7, 2024 00:248,30488,203,52866,923,0001,997,0002,531,328
41Oct 7, 2024 00:248,30792,471,34766,953,0001,998,0002,510,848
42Oct 7, 2024 00:248,31189,860,88267,985,000999,0002,531,328
43Oct 7, 2024 00:248,31291,212,80667,989,000999,0002,433,024
44Oct 7, 2024 00:248,31589,942,82268,018,0001,000,0002,424,832
45Oct 7, 2024 00:248,32289,965,55268,069,0001,001,0002,428,928
46Jul 27, 2024 09:288,32596,088,57467,099,0002,002,0002,437,120
47Oct 7, 2024 00:248,32891,003,24668,123,0001,001,0002,531,328
48Jul 27, 2024 09:288,36992,285,32269,463,00002,433,024