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 listFeb 22, 2026 19:49wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:21Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 04:130905,847,276895,620,0001,102,0002,113,536expected "10931006749377558 ", got "56976319996268559 "
2Oct 16, 2026 04:13084,576,23974,504,0001,034,0002,113,536expected "107373132044569460 ", got "07373132044569460 "
3Oct 16, 2026 04:130208,173,632199,133,00002,113,536expected "7119078258468073 ", got "7119078258468073 "
4Feb 22, 2026 19:494,67975,060,22536,847,0001,991,0002,277,376
5Feb 22, 2026 19:494,69058,518,45736,929,0001,996,0002,269,184
6Feb 22, 2026 19:494,69160,890,71536,942,0001,996,0002,277,376
7Feb 22, 2026 19:494,69862,076,31536,995,0001,999,0002,277,376
8Feb 22, 2026 19:494,71060,414,85837,089,0002,004,0002,531,328
9Feb 22, 2026 19:494,75862,915,59638,481,0001,012,0002,535,424
10Feb 22, 2026 19:494,77969,991,34938,647,0001,017,0002,490,368
11Feb 22, 2026 19:494,80764,060,75937,902,0001,994,0002,490,368
12Feb 22, 2026 19:498,68994,959,77570,115,0002,003,0002,494,464