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 listJun 23, 2025 22:17Valentin KofmanValentin KofmanScore: 6,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2025 21:576,62678,409,44452,999,0001,999,0002,289,664
2Jun 23, 2025 21:456,63078,894,60354,028,0001,000,0002,289,664
3Jun 23, 2025 22:176,63176,492,46653,038,0002,001,0002,273,280
4Jun 23, 2025 21:456,63384,497,71454,051,0001,000,0002,289,664
5Jun 23, 2025 21:456,63478,436,83853,063,0002,002,0002,289,664
6Jun 23, 2025 21:456,63583,162,06553,066,0002,002,0002,387,968
7Jun 23, 2025 21:456,63582,801,89554,050,0001,019,0002,289,664
8Jun 23, 2025 22:176,63677,981,12754,074,0001,001,0002,269,184
9Jun 23, 2025 22:176,63778,122,96853,083,0002,003,0002,269,184
10Jun 23, 2025 21:456,63877,672,21653,092,0002,003,0002,289,664
11Jun 23, 2025 21:576,63980,467,03754,105,0001,001,0002,289,664
12Jun 23, 2025 21:456,64087,030,47954,111,0001,002,0002,289,664
13Jun 23, 2025 21:456,64076,389,02653,110,0002,004,0002,289,664
14Jun 23, 2025 21:456,64377,954,88253,132,0002,004,0002,273,280
15Jun 23, 2025 21:576,64481,551,80355,144,00002,269,184
16Jun 23, 2025 21:579,03397,700,38972,979,0001,999,0002,289,664
17Jun 23, 2025 21:459,03498,366,84272,984,0001,999,0002,273,280
18Jun 23, 2025 21:579,03897,707,47673,017,0002,000,0002,265,088
19Jun 23, 2025 22:179,04498,913,60973,061,0002,001,0002,289,664
20Jun 23, 2025 21:459,04797,709,13273,084,0002,002,0002,281,472
21Jun 23, 2025 21:459,05495,947,95973,147,0002,004,0002,289,664
22Jun 23, 2025 22:179,06199,030,89873,205,0002,005,0002,277,376
23Jun 23, 2025 22:179,06496,925,68973,225,0002,006,0002,375,680
24Jun 23, 2025 21:579,07998,420,26474,350,0001,004,0002,265,088