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 7, 2024 11:34GraceGraceScore: 83,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 11:3683,607758,763,751693,934,19302,236,416
2Jun 7, 2024 11:3483,629745,838,008694,123,76002,240,512
3Jun 7, 2024 11:3683,645757,424,968694,255,37002,232,320
4Jun 7, 2024 11:3683,664755,087,028694,413,99702,240,512
5Jun 7, 2024 11:3483,665759,526,669694,417,51602,240,512
6Jun 7, 2024 11:3483,732761,213,443694,976,78602,236,416
7Jun 7, 2024 11:3483,782755,171,905695,394,12902,240,512
8Jun 7, 2024 11:3683,816775,623,078695,669,76802,240,512
9Jun 7, 2024 11:3683,856749,677,227696,002,30402,240,512
10Jun 7, 2024 11:3483,866769,863,528696,090,85102,236,416
11Jun 7, 2024 11:3683,877770,437,542696,180,69902,244,608
12Jun 7, 2024 11:3683,879758,039,098696,198,85302,248,704
13Jun 7, 2024 11:3483,895754,731,324696,325,02402,240,512
14Jun 7, 2024 11:3683,922757,886,588696,551,61802,236,416
15Jun 7, 2024 11:3483,976756,580,136696,998,93002,240,512
16Jun 7, 2024 11:3684,268777,303,606699,428,26602,232,320
17Jun 7, 2024 11:3484,278765,503,440699,509,31702,244,608
18Jun 7, 2024 11:3684,312771,435,020699,792,34302,240,512
19Jun 7, 2024 11:3684,437772,026,175700,827,43402,248,704
20Jun 7, 2024 11:3684,453773,320,968700,955,87302,244,608
21Jun 7, 2024 11:3484,880769,687,293704,501,60302,240,512
22Jun 7, 2024 11:3484,968764,799,852705,230,85002,240,512
23Jun 7, 2024 11:3485,580779,355,078710,317,21402,236,416
24Jun 7, 2024 11:3485,611795,259,109710,571,49202,240,512