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 listDec 19, 2024 21:22Javid izadiJavid izadiScore: 151,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2024 20:55151,2581,284,535,6071,030,544,000224,900,0002,285,568
2Dec 19, 2024 20:55151,3831,283,417,3771,031,574,000224,907,0002,351,104
3Dec 19, 2024 20:55151,4081,285,688,0421,031,742,000224,943,0002,453,504
4Dec 19, 2024 20:55151,4541,280,104,3031,030,236,000226,831,0002,457,600
5Dec 19, 2024 20:55151,5111,286,884,9421,030,807,000226,737,0002,465,792
6Dec 19, 2024 21:22151,5691,284,378,8381,029,199,000228,822,0002,301,952
7Dec 19, 2024 20:55151,6241,282,870,2951,030,572,000227,905,0002,457,600
8Dec 19, 2024 20:55151,6811,290,409,1301,031,144,000227,810,0002,289,664
9Dec 19, 2024 21:22151,7141,283,174,7171,030,367,000228,859,0002,433,024
10Dec 19, 2024 20:55151,8091,290,406,3891,031,193,000228,821,0002,494,464
11Dec 19, 2024 20:55151,8121,282,709,5151,031,213,000228,825,0002,289,664
12Dec 19, 2024 21:22151,9071,291,704,5921,030,046,000230,786,0002,453,504