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 26, 2026 00:16Uladzislau NestsiarukUladzislau NestsiarukError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 00:16027,655,9869,116,0002,025,0002,338,816expected "976705 ", got "975417 "
2Apr 26, 2026 00:16031,177,4899,197,0002,043,0002,334,720expected "975518 ", got "975692 "
3Apr 26, 2026 00:16029,674,16111,372,00002,527,232expected "977471 ", got "977068 "