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 14, 2022 19:51Franek KortaFranek KortaScore: 5,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 19:515,56082,334,74917,790,66102,195,456
2Aug 14, 2022 19:515,56969,426,09817,822,29802,207,744
3Aug 14, 2022 19:515,58175,031,20317,858,51502,203,648
4Aug 14, 2022 19:515,67943,477,35516,153,0002,019,0002,265,088
5Aug 14, 2022 19:515,70240,873,78717,234,0001,013,0002,269,184
6Aug 14, 2022 19:515,70436,324,15217,239,0001,014,0002,269,184
7Aug 14, 2022 19:515,71754,616,77118,294,00002,445,312
8Aug 14, 2022 19:515,72039,751,86118,303,00002,441,216
9Aug 14, 2022 19:515,73138,433,93317,322,0001,018,0002,531,328
10Aug 14, 2022 19:515,74938,705,61618,397,00002,514,944
11Aug 14, 2022 19:515,75737,380,46518,421,00002,269,184
12Aug 14, 2022 19:515,76237,925,57718,438,00002,441,216