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 listJan 17, 2022 06:04Yuriy LyfenkoYuriy LyfenkoScore: 29,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2022 01:0129,194302,747,024242,312,46702,211,840
2Jan 17, 2022 06:0429,196299,138,363242,329,94002,220,032
3Jan 17, 2022 01:0129,200263,248,224240,354,0002,002,0002,351,104
4Jan 17, 2022 01:0129,201269,861,011241,369,0001,001,0002,326,528
5Jan 17, 2022 01:0129,204262,963,245240,388,0002,003,0002,326,528
6Jan 17, 2022 01:0129,207311,498,092242,418,36102,228,224
7Jan 17, 2022 06:0429,207314,101,418242,416,03302,224,128
8Jan 17, 2022 06:0429,208265,743,496240,425,0002,003,0002,527,232
9Jan 17, 2022 06:0429,212304,814,488242,459,32002,220,032
10Jan 17, 2022 01:0129,214268,099,706241,473,0001,006,0002,326,528
11Jan 17, 2022 01:0129,214302,553,384242,473,40302,215,936
12Jan 17, 2022 06:0429,215273,316,418240,481,0002,004,0002,387,968
13Jan 17, 2022 06:0429,217266,592,855241,503,0001,002,0002,326,528
14Jan 17, 2022 06:0429,218271,558,470241,505,0001,002,0002,326,528
15Jan 17, 2022 01:0129,221268,864,037241,533,0001,002,0002,326,528
16Jan 17, 2022 06:0429,222269,197,095241,539,0001,002,0002,326,528
17Jan 17, 2022 01:0129,225264,437,122240,563,0002,004,0002,527,232
18Jan 17, 2022 06:0429,230270,382,645241,611,0001,002,0002,318,336
19Jan 17, 2022 06:0429,231268,657,003241,614,0001,002,0002,527,232
20Jan 17, 2022 01:0129,241270,250,220241,699,000998,0002,326,528
21Jan 17, 2022 06:0429,244273,775,783240,726,0001,997,0002,326,528
22Jan 17, 2022 01:0129,245271,105,450240,731,0002,006,0002,523,136
23Jan 17, 2022 06:0429,247266,040,367242,754,00002,326,528
24Jan 17, 2022 01:0129,247270,337,594239,752,0002,996,0002,375,680