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 28, 2024 17:04Joad NacerJoad NacerScore: 4,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 17:054,49838,147,30013,364,0001,028,0002,269,184
2Nov 28, 2024 17:044,49932,421,51914,396,00002,531,328
3Nov 28, 2024 17:044,50530,802,73214,417,00002,531,328
4Nov 28, 2024 17:054,50533,789,73114,415,00002,531,328
5Nov 28, 2024 17:054,50641,537,92414,418,00002,420,736
6Nov 28, 2024 17:044,50934,492,95214,428,00002,531,328