Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 23, 2022 21:54Franek KortaFranek KortaScore: 5,800Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2022 21:544,77538,420,40112,225,0003,056,0002,269,184
2Aug 23, 2022 21:544,77640,628,10914,264,0001,018,0002,433,024
3Aug 23, 2022 21:544,77736,265,75413,249,0002,038,0002,269,184
4Aug 23, 2022 21:544,79432,879,91113,297,0002,045,0002,437,120
5Aug 23, 2022 21:544,80239,205,59414,342,0001,024,0002,424,832
6Aug 23, 2022 21:544,80635,757,52715,380,00002,424,832
7Aug 23, 2022 21:544,80731,093,18315,381,00002,531,328
8Aug 23, 2022 21:544,82032,903,18515,424,00002,424,832
9Aug 23, 2022 21:544,83227,841,47514,431,0001,030,0002,433,024
10Aug 23, 2022 21:545,00971,675,13816,027,85502,203,648
11Aug 23, 2022 21:545,01570,606,75316,048,67902,203,648
12Aug 23, 2022 21:545,01889,749,45916,056,02302,203,648
13Aug 23, 2022 21:545,80085,043,23318,559,76702,199,552
14Aug 23, 2022 21:545,80678,508,58018,580,40802,195,456
15Aug 23, 2022 21:545,84288,868,19818,694,63102,199,552
16Aug 23, 2022 21:545,96534,140,65218,085,0001,004,0002,531,328
17Aug 23, 2022 21:545,97343,592,10818,107,0001,005,0002,269,184
18Aug 23, 2022 21:545,97535,972,51416,101,0003,019,0002,383,872
19Aug 23, 2022 21:545,97742,037,81716,106,0003,020,0002,269,184
20Aug 23, 2022 21:545,97840,641,80015,101,0004,027,0002,265,088
21Aug 23, 2022 21:545,98143,389,73117,125,0002,014,0002,531,328
22Aug 23, 2022 21:545,98342,910,38314,891,0004,254,0002,531,328
23Aug 23, 2022 21:545,99247,126,33518,164,0001,009,0002,531,328
24Aug 23, 2022 21:545,99243,541,36217,156,0002,018,0002,269,184