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 6, 2021 21:41Yuriy LyfenkoYuriy LyfenkoScore: 17,482Success
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:4117,219701,832,792142,919,89802,277,376
2Jun 6, 2021 21:4117,222712,942,026142,943,44002,265,088
3Jun 6, 2021 21:4317,222701,941,866142,940,37202,265,088
4Jun 6, 2021 21:4317,224709,126,152142,957,99802,244,608
5Jun 6, 2021 21:4817,224709,675,000142,956,33802,240,512
6Jun 6, 2021 21:4817,224709,128,362142,961,31602,248,704
7Jun 6, 2021 21:4817,225713,151,589142,971,57002,265,088
8Jun 6, 2021 21:4117,226711,865,042142,976,28202,273,280
9Jun 6, 2021 21:4317,226708,839,556142,971,69902,244,608
10Jun 6, 2021 21:4317,467673,464,605143,980,000999,0002,400,256
11Jun 6, 2021 21:4817,468674,752,391142,989,0001,999,0002,396,160
12Jun 6, 2021 21:4817,470673,520,410143,001,0002,000,0002,523,136
13Jun 6, 2021 21:4317,474671,249,355144,035,0001,000,0002,523,136
14Jun 6, 2021 21:4117,475677,981,778144,044,0001,000,0002,260,992
15Jun 6, 2021 21:4117,476674,991,917144,051,0001,000,0002,260,992
16Jun 6, 2021 21:4117,479671,434,291143,074,0002,001,0002,260,992
17Jun 6, 2021 21:4317,480666,554,027143,082,0002,001,0002,260,992
18Jun 6, 2021 21:4317,481666,100,247144,092,0001,000,0002,260,992
19Jun 6, 2021 21:4817,482671,323,421143,099,0002,001,0002,523,136
20Jun 6, 2021 21:4117,482672,691,635143,103,0002,001,0002,523,136
21Jun 6, 2021 21:4817,483666,773,229144,111,0001,000,0002,260,992
22Jun 6, 2021 21:4317,483675,447,930143,106,0002,001,0002,260,992
23Jun 6, 2021 21:4317,485675,352,872144,126,0001,000,0002,260,992
24Jun 6, 2021 21:4317,488669,210,522144,150,0001,001,0002,260,992
25Jun 6, 2021 21:4817,495672,828,305143,205,0002,002,0002,392,064
26Jun 6, 2021 21:4117,495671,430,449145,210,00002,260,992
27Jun 6, 2021 21:4817,496668,427,935145,219,00002,260,992
28Jun 6, 2021 21:4117,496670,516,793145,213,00002,260,992
29Jun 6, 2021 21:4117,497674,390,805144,226,0001,001,0002,523,136
30Jun 6, 2021 21:4317,498671,729,204145,234,00002,260,992
31Jun 6, 2021 21:4317,500675,228,452145,248,00002,260,992
32Jun 6, 2021 21:4817,500671,252,631145,250,00002,260,992
33Jun 6, 2021 21:4817,502668,095,825144,263,0001,001,0002,265,088
34Jun 6, 2021 21:4817,502668,197,668145,265,00002,387,968
35Jun 6, 2021 21:4117,504671,233,806144,279,0001,001,0002,260,992
36Jun 6, 2021 21:4117,504667,923,508144,286,0001,001,0002,260,992