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 14:45Mark R BestMark R BestScore: 11,041Success
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 14:4110,88558,617,6805,971,00028,862,0002,510,848
2Dec 29, 2025 14:4110,89563,696,3047,969,00026,896,0002,502,656
3Dec 29, 2025 14:4510,90461,101,0763,987,00030,905,0002,289,664
4Dec 29, 2025 14:4511,04156,597,0177,066,00028,265,0002,289,664
5Dec 29, 2025 14:4111,08957,666,7875,069,00030,416,0002,289,664
6Dec 29, 2025 14:4511,27365,092,0437,014,00029,061,0002,490,368