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 14:29MatthiasMatthiasScore: 4,792Success
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 14:294,76442,692,22913,212,0002,032,0002,281,472
2Dec 14, 2024 14:304,77832,975,83213,252,0002,038,0002,519,040
3Dec 14, 2024 14:304,78743,586,58513,276,0002,042,0002,523,136
4Dec 14, 2024 14:304,79231,272,50114,312,0001,022,0002,510,848
5Dec 14, 2024 14:294,80730,810,92014,358,0001,025,0002,531,328
6Dec 14, 2024 14:294,81043,769,69114,365,0001,026,0002,281,472