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 listMar 29, 2026 12:26Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 43,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2026 12:2643,416167,765,772112,944,00025,987,0002,310,144
2Mar 29, 2026 12:2543,431165,651,513112,982,00025,996,0002,322,432
3Mar 29, 2026 12:2543,577169,177,754113,362,00026,083,0002,281,472
4Mar 29, 2026 12:2543,688166,058,993114,836,00024,964,0002,326,528
5Mar 29, 2026 12:2643,860165,370,811110,277,00030,075,0002,330,624
6Mar 29, 2026 12:2644,026163,181,654108,909,00031,973,0002,318,336