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 listApr 28, 2024 14:25Steve HanSteve HanScore: 18,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2024 16:3218,065208,696,701149,941,56102,306,048
2Apr 28, 2024 16:3218,087210,343,741150,123,88902,174,976
3Apr 28, 2024 16:3218,108218,402,074150,300,10002,174,976
4Apr 28, 2024 18:3718,119211,256,004150,389,70402,174,976
5Apr 28, 2024 18:3718,123206,764,282150,423,21202,297,856
6Apr 28, 2024 14:2718,184219,736,571150,930,42902,289,664
7Apr 28, 2024 16:2018,191215,412,748150,983,73802,301,952
8Apr 28, 2024 14:2518,202207,915,820151,076,34102,306,048
9Apr 28, 2024 14:2518,219215,329,705151,219,32902,297,856
10Apr 28, 2024 16:2018,227213,057,627151,285,93802,293,760
11Apr 28, 2024 14:2518,242222,846,728151,410,79402,187,264
12Apr 28, 2024 15:2718,244220,401,249151,427,29402,297,856
13Apr 28, 2024 16:2118,272224,074,216151,653,90802,297,856
14Apr 28, 2024 14:2618,284217,099,993151,761,24302,174,976
15Apr 28, 2024 14:2718,289207,743,718151,802,34002,301,952
16Apr 28, 2024 16:2118,296217,879,638151,853,13302,179,072
17Apr 28, 2024 16:2518,385212,174,459152,597,89002,174,976
18Apr 28, 2024 16:2718,392208,873,167152,654,77502,293,760
19Apr 28, 2024 16:2718,399216,039,432152,709,51402,297,856
20Apr 28, 2024 16:2718,409209,959,478152,797,51402,301,952
21Apr 28, 2024 16:2818,436208,211,578153,022,73702,301,952
22Apr 28, 2024 16:2718,437223,723,649153,029,55402,301,952
23Apr 28, 2024 16:2818,462220,188,431153,232,56602,297,856
24Apr 28, 2024 16:2718,479210,612,988153,373,84302,297,856
25Apr 28, 2024 16:2618,514216,747,349153,666,52702,297,856
26Apr 28, 2024 16:3118,959225,077,574157,355,88702,301,952
27Apr 28, 2024 16:2118,991211,151,692157,623,89202,301,952
28Apr 28, 2024 14:2619,020218,292,303157,869,61902,293,760
29Apr 28, 2024 16:2019,088210,225,229158,427,13902,174,976
30Apr 28, 2024 18:3719,215223,677,865159,482,74102,297,856
31Apr 28, 2024 14:2719,220221,429,482159,523,31402,256,896
32Apr 28, 2024 18:3719,221216,801,562159,530,65202,183,168
33Apr 28, 2024 16:2819,243229,199,548159,720,31202,297,856
34Apr 28, 2024 15:2719,264217,901,502159,895,03102,301,952
35Apr 28, 2024 16:3119,266220,986,533159,910,94802,174,976
36Apr 28, 2024 14:2619,271226,101,551159,949,90402,293,760
37Apr 28, 2024 18:3719,304239,841,666160,225,95802,301,952
38Apr 28, 2024 18:3719,309227,177,708160,265,32202,297,856
39Apr 28, 2024 16:3119,316227,430,044160,321,35402,174,976
40Apr 28, 2024 16:2619,378212,745,649160,839,52302,179,072
41Apr 28, 2024 15:2719,395224,953,592160,982,24902,297,856
42Apr 28, 2024 16:2719,615225,048,295162,801,42502,297,856
43Apr 28, 2024 16:2619,663225,151,738163,201,45502,293,760
44Apr 28, 2024 16:2519,869223,651,869164,911,97802,301,952
45Apr 28, 2024 16:2519,912227,949,826165,267,32202,297,856