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 8, 2025 11:06Chandrasekaran AkashChandrasekaran AkashScore: 4,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 8, 2025 11:064,40433,183,81913,088,0001,006,0002,510,848
2Apr 8, 2025 11:064,40631,872,14013,091,0001,007,0002,277,376
3Apr 8, 2025 11:064,40841,957,68713,100,0001,007,0002,277,376