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 listJul 30, 2022 16:06Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2022 16:0700000Error: No answer to stdout. Died or killed?
2Sep 12, 2022 03:1200000Error: expected "53684797402387795 ", got "53684771802387795 "
3Jul 30, 2022 16:2000000Error: expected "53686170223575404 ", got "53686167663575404 "
4Jul 31, 2022 14:1500000Error: expected "53692971406039588 ", got "53692712589783332 "
5Sep 12, 2022 03:1100000Error: expected "53689363420904722 ", got "53689337820904722 "
6Jul 31, 2022 14:1500000Error: expected "53690433168437197 ", got "53690228340277197 "
7Sep 12, 2022 03:1100000Error: expected "53686567997926421 ", got "53686565437926421 "
8Jul 31, 2022 16:0200000Error: expected "53682818027799502 ", got "53682815467799502 "
9Jul 31, 2022 14:1500000Error: expected "53689478051863418 ", got "53689298826007418 "
10Jul 31, 2022 14:1900000Error: expected "53690357992532252 ", got "53690332392532252 "
11Jul 31, 2022 14:1700000Error: expected "53682642615916730 ", got "53682591134316730 "
12Jul 31, 2022 14:1500000Error: expected "53681191343657607 ", got "53681063087603847 "
13Jul 31, 2022 14:1600000Error: expected "53689410792242520 ", got "53689254629651800 "
14Jul 31, 2022 14:1600000Error: expected "53682523930655368 ", got "53682421530655112 "
15Jul 31, 2022 14:1600000Error: expected "53692132906955289 ", got "53692081706699033 "
16Jul 30, 2022 16:067,571126,846,23762,839,70102,260,992
17Jul 30, 2022 16:137,572135,238,91262,848,61402,191,360
18Jul 30, 2022 16:127,587128,411,64562,971,83902,301,952
19Jul 30, 2022 16:087,595124,693,51663,039,06902,256,896
20Jul 30, 2022 16:137,596130,327,81463,045,10902,248,704
21Jul 30, 2022 16:087,599121,689,62863,072,30502,211,840
22Jul 30, 2022 16:207,607139,246,40063,139,96902,220,032
23Jul 30, 2022 16:117,611132,778,64363,167,73402,199,552
24Jul 30, 2022 16:067,618135,263,34163,233,17702,277,376
25Jul 30, 2022 16:127,62492,457,41761,270,0002,008,0002,383,872
26Jul 31, 2022 14:197,62885,703,84960,298,0003,014,0002,449,408
27Jul 30, 2022 16:127,629135,199,80863,322,20202,211,840
28Jul 30, 2022 16:117,636143,124,67663,379,19002,240,512
29Jul 30, 2022 16:067,641129,147,02663,423,22502,211,840
30Jul 31, 2022 14:197,641125,308,89363,418,79002,191,360
31Jul 31, 2022 14:197,64190,036,39460,398,0003,019,0002,277,376
32Jul 31, 2022 14:197,650138,679,01463,498,89502,179,072
33Sep 12, 2022 03:127,651143,779,39063,503,21402,215,936
34Jul 30, 2022 16:127,65394,002,08560,495,0003,024,0002,363,392
35Jul 31, 2022 16:027,657127,876,28863,553,19002,269,184
36Jul 30, 2022 16:087,658138,889,15363,564,38202,269,184
37Jul 30, 2022 16:207,661133,173,72963,587,58002,183,168
38Jul 30, 2022 16:137,662120,149,00763,595,33602,240,512
39Jul 30, 2022 16:127,66895,999,81661,621,0002,020,0002,445,312
40Sep 12, 2022 03:127,679138,588,03163,733,72802,215,936
41Jul 31, 2022 14:197,680138,454,55763,742,96702,236,416
42Jul 31, 2022 14:197,68189,803,26761,763,0001,992,0002,338,816
43Jul 30, 2022 16:127,69393,605,49560,811,0003,040,0002,416,640
44Jul 30, 2022 16:127,69493,021,92559,810,0004,054,0002,318,336
45Jul 30, 2022 16:127,69690,729,13260,885,0002,994,0002,420,736
46Jul 31, 2022 16:027,697134,044,53163,888,19602,281,472
47Jul 31, 2022 14:197,69986,853,39261,908,0001,997,0002,510,848
48Jul 30, 2022 16:127,702145,286,03063,924,66102,260,992
49Jul 30, 2022 16:117,70985,792,46961,987,0001,999,0002,461,696
50Jul 30, 2022 16:207,710130,042,84563,990,51802,228,224
51Jul 31, 2022 16:027,713135,497,40064,021,49602,293,760
52Jul 30, 2022 16:117,71385,730,14563,015,0001,000,0002,351,104
53Jul 31, 2022 14:197,72288,264,58761,087,0003,004,0002,437,120
54Jul 31, 2022 14:197,72291,011,67861,085,0003,004,0002,306,048
55Jul 30, 2022 16:127,74090,584,45360,228,0004,015,0002,363,392
56Jul 31, 2022 14:197,74591,246,44061,270,0003,013,0002,396,160
57Jul 31, 2022 14:197,75189,644,87862,325,0002,010,0002,412,544
58Jul 30, 2022 16:117,759122,246,93764,398,75602,236,416
59Jul 30, 2022 16:127,75997,326,48059,371,0005,031,0002,420,736
60Jul 30, 2022 16:117,76087,410,21460,380,0004,025,0002,486,272
61Jul 31, 2022 14:197,76995,967,25262,466,0002,015,0002,387,968
62Sep 12, 2022 03:127,803141,285,85064,761,65502,191,360
63Jul 30, 2022 16:117,80790,696,20858,818,0005,981,0002,482,176
64Jul 30, 2022 16:127,80888,984,22560,822,0003,988,0002,404,352
65Sep 12, 2022 03:127,81586,945,49360,873,0003,991,0002,379,776
66Jul 30, 2022 16:117,83691,525,68062,034,0003,001,0002,498,560
67Sep 12, 2022 03:127,83787,756,09061,044,0004,002,0002,498,560
68Sep 12, 2022 03:127,84590,170,09960,103,0005,008,0002,506,752
69Jul 30, 2022 16:117,85290,611,48561,158,0004,010,0002,293,760
70Jul 30, 2022 16:117,85396,862,80562,176,0003,008,0002,379,776
71Sep 12, 2022 03:127,89092,502,30161,460,0004,030,0002,420,736
72Sep 12, 2022 03:127,89288,705,53764,494,0001,007,0002,330,624
73Sep 12, 2022 03:127,92689,615,88562,795,0002,990,0002,457,600
74Sep 12, 2022 03:127,93194,730,29563,834,0001,994,0002,351,104
75Jul 30, 2022 16:117,93296,757,16760,846,0004,987,0002,260,992
76Jul 30, 2022 16:117,94789,372,07362,960,0002,998,0002,371,584
77Sep 12, 2022 03:127,94789,966,62559,966,0005,996,0002,510,848
78Sep 12, 2022 03:128,13892,858,64362,507,0005,040,0002,351,104