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 listNov 20, 2026 14:44boop34boop34Score: 30,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2026 14:4430,336259,366,796250,773,0001,019,0002,117,632stderr
2Nov 20, 2026 14:4430,398259,949,094251,264,0001,040,0002,117,632stderr
3Nov 20, 2026 14:4430,418260,056,728251,467,0001,010,0002,117,632stderr
4Nov 20, 2026 14:4430,636261,923,350253,259,0001,023,0002,117,632stderr
5Nov 20, 2026 14:4430,648261,969,182253,361,0001,018,0002,117,632stderr
6Nov 20, 2026 14:4430,758262,986,780254,254,0001,043,0002,117,632stderr
7Nov 20, 2026 14:4430,768262,947,710254,374,0001,002,0002,117,632stderr
8Nov 20, 2026 14:4430,793263,368,985254,574,0001,016,0002,117,632stderr
9Nov 20, 2026 14:4430,934264,350,777255,754,0001,002,0002,117,632stderr