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 28, 2021 13:39Yuriy LyfenkoYuriy LyfenkoScore: 17,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 21:4817,215459,940,607142,883,07502,240,512
2Jun 6, 2021 21:4817,217467,077,882142,905,18502,269,184
3Jun 28, 2021 13:3917,222451,903,750142,941,88202,244,608
4Jun 28, 2021 13:3917,223447,127,201142,946,97102,240,512
5Jun 6, 2021 21:4817,231458,277,088143,014,56202,240,512
6Jun 28, 2021 13:3917,235454,314,859143,048,41002,269,184
7Jun 28, 2021 13:3917,471419,254,998145,007,00002,523,136
8Jun 6, 2021 21:4817,480419,147,697145,088,00002,260,992
9Jun 6, 2021 21:4817,481418,688,566143,091,0002,001,0002,260,992
10Jun 6, 2021 21:4817,482420,143,746143,101,0002,001,0002,260,992
11Jun 28, 2021 13:3917,483420,186,265145,110,00002,260,992
12Jun 28, 2021 13:3917,486417,663,769144,131,0001,000,0002,260,992
13Jun 6, 2021 21:4817,486416,232,737144,136,0001,000,0002,260,992
14Jun 28, 2021 13:3917,486413,340,126145,137,00002,260,992
15Jun 6, 2021 21:4817,488419,064,866144,152,0001,001,0002,392,064
16Jun 28, 2021 13:3917,489416,476,397143,160,0002,002,0002,523,136
17Jun 28, 2021 13:3917,490419,664,805143,161,0002,002,0002,265,088
18Jun 28, 2021 13:3917,491416,330,056144,172,0001,001,0002,260,992
19Jun 6, 2021 21:4817,497423,766,257144,221,0001,001,0002,383,872
20Jun 28, 2021 13:3917,500419,206,525144,246,0001,001,0002,387,968
21Jun 6, 2021 21:4817,500417,674,627145,249,00002,260,992
22Jun 28, 2021 13:3917,502417,292,028144,262,0001,001,0002,260,992
23Jun 6, 2021 21:4817,507418,065,144144,307,0001,002,0002,527,232
24Jun 6, 2021 21:4817,509421,844,464143,333,0001,990,0002,523,136