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 6, 2025 15:44Chandrasekaran AkashChandrasekaran AkashScore: 6,209Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 15:445,90146,097,99317,891,000993,0002,502,656
2Apr 6, 2025 15:505,93846,024,06817,002,0002,000,0002,502,656
3Apr 6, 2025 15:506,12145,283,73219,588,00002,277,376
4Apr 6, 2025 15:446,20949,732,45118,877,000993,0002,506,752
5Apr 6, 2025 15:446,20946,456,16619,870,00002,502,656
6Apr 6, 2025 15:506,26941,073,68619,057,0001,003,0002,506,752