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 listSep 7, 2022 02:18Yuriy LyfenkoYuriy LyfenkoScore: 4,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:184,399538,302,16613,072,0001,005,0002,523,136
2Sep 7, 2022 02:184,408541,313,71412,091,0002,015,0002,523,136
3Sep 7, 2022 02:184,424545,912,11313,147,0001,011,0002,400,256
4Sep 7, 2022 02:184,445537,548,05513,209,0001,016,0002,383,872
5Sep 7, 2022 02:184,452535,952,20613,229,0001,017,0002,523,136
6Sep 7, 2022 02:184,454535,930,84614,253,00002,260,992
7Sep 7, 2022 02:184,456545,643,85913,240,0001,018,0002,392,064
8Sep 7, 2022 02:184,461538,143,44514,276,00002,523,136
9Sep 7, 2022 02:184,475544,666,56013,297,0001,022,0002,265,088
10Sep 7, 2022 02:184,614569,708,66614,766,33802,281,472
11Sep 7, 2022 02:184,617582,129,76614,773,05102,281,472
12Sep 7, 2022 02:184,640580,548,08014,848,72802,269,184