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 listDec 29, 2025 13:52Mark R BestMark R BestScore: 40,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:5140,209161,115,032104,544,00024,125,0002,289,664
2Dec 29, 2025 13:5240,277155,678,207108,904,00019,982,0002,289,664
3Dec 29, 2025 13:5140,329150,531,669100,042,00029,012,0002,301,952
4Dec 29, 2025 13:5140,512155,464,038100,494,00029,143,0002,301,952
5Dec 29, 2025 13:5240,571158,247,082105,859,00023,968,0002,285,568
6Dec 29, 2025 13:5240,630151,968,92495,012,00035,004,0002,285,568