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 10, 2024 22:29Matt StuchlikMatt StuchlikScore: 22,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 22:2921,184259,734,502175,829,17802,281,472
2Apr 10, 2024 22:2921,191237,128,970175,881,33802,297,856
3Apr 10, 2024 22:2921,202241,310,520175,975,54202,289,664
4Apr 10, 2024 22:2921,740203,315,881179,442,0001,002,0002,277,376
5Apr 10, 2024 22:2922,183213,100,863183,117,0001,000,0002,273,280
6Apr 10, 2024 22:2922,188207,360,978182,159,0002,001,0002,285,568
7Apr 10, 2024 22:2922,196209,020,703182,223,0002,002,0002,285,568
8Apr 10, 2024 22:2922,200210,297,487183,263,0001,001,0002,285,568
9Apr 10, 2024 22:2922,222208,105,593183,440,0001,002,0002,273,280
10Apr 10, 2024 22:2922,223211,031,562183,449,0001,002,0002,277,376
11Apr 10, 2024 22:2922,279208,671,616183,918,000999,0002,285,568
12Apr 10, 2024 22:2922,402208,753,152184,939,000999,0002,277,376