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 listMar 29, 2026 01:56zielajzielajScore: 3,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2026 02:003,43750,022,92126,490,0002,037,0002,433,024
2Mar 29, 2026 01:593,45459,399,16527,642,0001,023,0002,519,040
3Mar 29, 2026 02:083,45553,742,23427,654,0001,024,0002,523,136
4Mar 29, 2026 01:563,45655,249,93927,663,0001,024,0002,523,136
5Mar 29, 2026 02:003,47355,695,84227,832,000994,0002,523,136
6Mar 29, 2026 01:543,47556,901,87127,851,000994,0002,531,328
7Mar 29, 2026 01:543,47554,391,67627,852,000994,0002,441,216
8Mar 29, 2026 02:083,47556,282,71127,846,000994,0002,519,040
9Mar 29, 2026 01:543,47655,453,00526,864,0001,989,0002,449,408
10Mar 29, 2026 01:593,48750,592,82826,946,0001,996,0002,523,136
11Mar 29, 2026 02:003,55647,824,26128,498,0001,017,0002,482,176
12Mar 29, 2026 01:563,56554,237,57528,571,0001,020,0002,437,120
13Mar 29, 2026 01:563,58353,407,34227,754,0001,982,0002,519,040
14Mar 29, 2026 02:083,60851,724,58227,949,0001,996,0002,437,120
15Mar 29, 2026 01:593,61353,128,96227,988,0001,999,0002,523,136