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 10, 2025 20:22Chandrasekaran 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 10, 2025 20:204,39432,949,57913,057,0001,004,0002,277,376
2Apr 10, 2025 20:204,39733,636,07213,065,0001,005,0002,277,376
3Apr 10, 2025 20:224,40228,808,80713,080,0001,006,0002,277,376
4Apr 10, 2025 20:194,40428,288,37213,087,0001,006,0002,506,752
5Apr 10, 2025 20:194,40627,169,07813,092,0001,007,0002,277,376
6Apr 10, 2025 20:194,41142,624,13513,107,0001,008,0002,506,752
7Apr 10, 2025 20:224,41431,308,24813,117,0001,009,0002,277,376
8Apr 10, 2025 20:204,42832,019,46513,158,0001,012,0002,506,752
9Apr 10, 2025 20:224,44933,569,13314,236,00002,277,376