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 11, 2021 11:14Dmitry DolgopolovDmitry DolgopolovScore: 27,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2021 11:1327,583256,501,968226,939,0001,999,0002,527,232
2Jun 11, 2021 11:1427,584256,227,466226,952,0001,999,0002,527,232
3Jun 11, 2021 11:1327,586256,651,778226,964,0001,999,0002,527,232
4Jun 11, 2021 11:1427,588250,909,814226,978,0001,999,0002,527,232
5Jun 11, 2021 11:1327,589255,820,344226,989,0001,999,0002,527,232
6Jun 11, 2021 11:1427,589250,288,807226,986,0001,999,0002,523,136
7Jun 11, 2021 11:1327,590252,745,985227,001,0002,000,0002,453,504
8Jun 11, 2021 11:1327,591251,272,041227,004,0002,000,0002,527,232
9Jun 11, 2021 11:1327,593251,999,883227,021,0002,000,0002,527,232
10Jun 11, 2021 11:1327,593248,400,175227,026,0002,000,0002,437,120
11Jun 11, 2021 11:1327,598249,624,544227,065,0002,000,0002,527,232
12Jun 11, 2021 11:1327,599252,136,993227,071,0002,000,0002,527,232
13Jun 11, 2021 11:1327,600253,189,142227,077,0002,000,0002,527,232
14Jun 11, 2021 11:1427,600256,197,231227,084,0002,000,0002,445,312
15Jun 11, 2021 11:1327,602251,923,491227,093,0002,000,0002,445,312
16Jun 11, 2021 11:1327,605249,238,691227,118,0002,001,0002,527,232
17Jun 11, 2021 11:1327,606253,049,504227,128,0002,001,0002,441,216
18Jun 11, 2021 11:1327,608256,516,382227,148,0002,001,0002,441,216
19Jun 11, 2021 11:1327,610259,043,682227,160,0002,001,0002,527,232
20Jun 11, 2021 11:1327,611247,696,131228,172,0001,000,0002,527,232
21Jun 11, 2021 11:1427,617253,941,218228,218,0001,000,0002,527,232
22Jun 11, 2021 11:1327,619253,498,260227,239,0002,002,0002,527,232
23Jun 11, 2021 11:1327,620251,717,017227,240,0002,002,0002,527,232
24Jun 11, 2021 11:1427,620254,932,350228,242,0001,001,0002,453,504
25Jun 11, 2021 11:1427,622249,802,781228,262,0001,001,0002,453,504
26Jun 11, 2021 11:1327,622252,646,930228,258,0001,001,0002,527,232
27Jun 11, 2021 11:1327,625253,639,943228,284,0001,001,0002,441,216
28Jun 11, 2021 11:1327,628254,560,770228,308,0001,001,0002,527,232
29Jun 11, 2021 11:1327,628252,626,803228,315,0001,001,0002,527,232
30Jun 11, 2021 11:1427,630255,280,030228,330,0001,001,0002,453,504
31Jun 11, 2021 11:1327,631250,996,704228,340,0001,001,0002,527,232
32Jun 11, 2021 11:1327,632250,117,055228,348,0001,001,0002,523,136
33Jun 11, 2021 11:1327,632253,731,647228,345,0001,001,0002,527,232
34Jun 11, 2021 11:1327,634252,221,217229,365,00002,527,232
35Jun 11, 2021 11:1327,640255,701,809228,407,0001,001,0002,527,232
36Jun 11, 2021 11:1427,640258,166,731228,416,000997,0002,437,120
37Jun 11, 2021 11:1327,908286,879,011231,639,47802,199,552
38Jun 11, 2021 11:1327,908284,552,018231,635,09802,195,456
39Jun 11, 2021 11:1327,909289,152,257231,642,91302,207,744
40Jun 11, 2021 11:1327,910293,601,849231,652,24002,191,360
41Jun 11, 2021 11:1427,911293,460,168231,665,12902,191,360
42Jun 11, 2021 11:1427,911292,709,777231,657,44602,191,360
43Jun 11, 2021 11:1327,911300,336,563231,665,15402,183,168
44Jun 11, 2021 11:1327,913291,041,501231,678,64502,195,456
45Jun 11, 2021 11:1427,914287,956,869231,685,63102,195,456
46Jun 11, 2021 11:1327,915297,273,340231,697,94002,199,552
47Jun 11, 2021 11:1327,915295,821,949231,698,19102,203,648
48Jun 11, 2021 11:1327,922296,966,763231,749,20702,187,264