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 listJun 4, 2024 15:42GraceGraceScore: 4,985Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2024 15:424,95464,475,07939,111,0002,005,0002,273,280
2Jun 4, 2024 15:424,95467,345,24739,116,0002,005,0002,400,256
3Jun 4, 2024 15:424,95766,723,09339,139,0002,007,0002,273,280
4Jun 4, 2024 15:424,95763,775,86840,137,0001,003,0002,392,064
5Jun 4, 2024 15:424,95763,072,30839,134,0002,006,0002,392,064
6Jun 4, 2024 15:424,96068,384,76940,162,0001,004,0002,273,280
7Jun 4, 2024 15:424,96367,642,96639,184,0002,009,0002,273,280
8Jun 4, 2024 15:424,96363,471,54540,187,0001,004,0002,400,256
9Jun 4, 2024 15:424,96663,410,70639,205,0002,010,0002,400,256
10Jun 4, 2024 15:424,96965,462,26040,239,0001,005,0002,273,280
11Jun 4, 2024 15:424,96967,275,58739,232,0002,011,0002,400,256
12Jun 4, 2024 15:424,97071,308,11439,239,0002,012,0002,273,280
13Jun 4, 2024 15:424,97068,604,89139,242,0002,012,0002,273,280
14Jun 4, 2024 15:424,97162,603,72039,251,0002,012,0002,273,280
15Jun 4, 2024 15:424,97167,091,57639,251,0002,012,0002,396,160
16Jun 4, 2024 15:424,97566,905,72839,276,0002,014,0002,396,160
17Jun 4, 2024 15:424,97768,822,03339,294,0002,015,0002,404,352
18Jun 4, 2024 15:424,97762,222,10540,305,0001,007,0002,273,280
19Jun 4, 2024 15:424,97764,823,46740,303,0001,007,0002,273,280
20Jun 4, 2024 15:424,97867,556,32639,302,0002,015,0002,273,280
21Jun 4, 2024 15:424,97964,490,05040,319,0001,007,0002,400,256
22Jun 4, 2024 15:424,98062,474,94640,326,0001,008,0002,490,368
23Jun 4, 2024 15:424,98063,846,53140,329,0001,008,0002,273,280
24Jun 4, 2024 15:424,98271,598,68341,353,00002,404,352
25Jun 4, 2024 15:424,98564,192,05740,364,0001,009,0002,273,280
26Jun 4, 2024 15:424,99462,565,98440,439,0001,010,0002,273,280
27Jun 4, 2024 15:424,99766,708,56441,478,00002,273,280
28Jun 4, 2024 15:425,100104,351,71442,331,75002,285,568
29Jun 4, 2024 15:425,101109,705,92742,339,06802,285,568
30Jun 4, 2024 15:425,103105,977,61042,358,93702,289,664
31Jun 4, 2024 15:425,10396,949,41342,357,45002,289,664
32Jun 4, 2024 15:425,104137,566,43042,363,93402,289,664
33Jun 4, 2024 15:425,105107,157,66942,368,76102,293,760
34Jun 4, 2024 15:425,105113,209,63142,368,61402,285,568
35Jun 4, 2024 15:425,105121,231,15842,374,25702,277,376
36Jun 4, 2024 15:425,107101,297,89442,386,56802,281,472
37Jun 4, 2024 15:425,108113,928,86642,394,30502,285,568
38Jun 4, 2024 15:425,108107,515,84642,395,85102,277,376
39Jun 4, 2024 15:425,187110,280,65543,052,21802,256,896
40Jun 4, 2024 15:425,91175,581,00547,057,0002,002,0002,273,280
41Jun 4, 2024 15:425,91473,230,98447,087,0002,003,0002,396,160
42Jun 4, 2024 15:425,91576,939,68947,089,0002,003,0002,273,280
43Jun 4, 2024 15:425,92974,856,55647,205,0002,008,0002,396,160
44Jun 4, 2024 15:425,93574,298,68648,256,0001,005,0002,400,256
45Jun 4, 2024 15:425,94573,931,03348,337,0001,007,0002,273,280
46Jun 4, 2024 15:425,97171,072,44548,545,0001,011,0002,392,064
47Jun 4, 2024 15:425,97880,189,09348,604,0001,012,0002,408,448
48Jun 4, 2024 15:426,00479,022,37848,839,000996,0002,400,256