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 listDec 14, 2024 23:49MatthiasMatthiasScore: 4,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 23:494,77240,378,02114,253,0001,018,0002,281,472
2Dec 14, 2024 23:494,77531,314,35313,242,0002,037,0002,281,472
3Dec 14, 2024 23:494,78230,927,46514,282,0001,020,0002,527,232
4Dec 14, 2024 23:494,80131,734,38313,314,0002,048,0002,514,944
5Dec 14, 2024 23:494,81337,729,73614,374,0001,026,0002,281,472
6Dec 14, 2024 23:494,96939,782,87914,909,000993,0002,514,944