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 listApr 27, 2024 08:11matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2024 08:1100000Error: expected "975667 ", got "0 6216 36190 6216 36611 36247 7629 36247 8048 1869812730 881735650 3557811939 1537085747 3226862411 814535459 3226862411 814544163 "
2Apr 27, 2024 08:1300000Error: expected "975649 ", got "0 32060 29826 32061 30247 15974 7596 15973 8016 30679979 4009101245 686095516 369549659 1878851 3205409951 2095936827 3205410047 "