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 listOct 28, 2024 19:04RileyRileyScore: 13,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:0413,48265,955,34741,135,0002,006,0002,273,280
2Oct 28, 2024 19:0413,50867,740,40241,217,0002,010,0002,289,664
3Oct 28, 2024 19:0413,50967,830,65141,218,0002,010,0002,277,376
4Oct 28, 2024 19:0413,51269,389,91441,228,0002,011,0002,273,280
5Oct 28, 2024 19:0413,51368,965,08541,230,0002,011,0002,277,376
6Oct 28, 2024 19:0413,51667,591,24241,240,0002,011,0002,269,184
7Oct 28, 2024 19:0413,52269,100,87641,257,0002,012,0002,281,472
8Oct 28, 2024 19:0413,53966,022,72142,318,0001,007,0002,273,280
9Oct 28, 2024 19:0413,54066,799,94141,313,0002,015,0002,289,664