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 25, 2024 20:58Dmitrii KravchenkoDmitrii KravchenkoScore: 4,902Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 20:584,89543,184,03514,621,0001,044,0002,281,472
2Nov 25, 2024 20:584,89745,514,54013,581,0002,089,0002,281,472
3Nov 25, 2024 20:584,89842,898,34415,673,00002,285,568
4Nov 25, 2024 20:584,90246,461,78914,640,0001,045,0002,281,472
5Nov 25, 2024 20:584,90237,924,14714,640,0001,045,0002,281,472
6Nov 25, 2024 20:584,92137,349,03312,794,0002,952,0002,273,280
7Nov 25, 2024 20:584,95547,755,98814,866,000991,0002,281,472
8Nov 25, 2024 20:584,95841,629,27814,873,000991,0002,281,472
9Nov 25, 2024 20:584,96551,151,55213,902,0001,986,0002,281,472