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 listNov 29, 2024 16:07Joad NacerJoad NacerScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 16:074,43436,676,47213,176,0001,013,0002,441,216
2Nov 29, 2024 16:074,45527,546,14613,237,0001,018,0002,424,832
3Nov 29, 2024 16:074,46731,050,77212,253,0002,042,0002,531,328
4Nov 29, 2024 16:074,46828,366,62814,297,00002,531,328
5Nov 29, 2024 16:074,47438,602,21613,295,0001,022,0002,269,184
6Nov 29, 2024 16:074,49627,356,00214,386,00002,433,024