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 10, 2026 23:08janwwwjanwwwScore: 4,455Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 29, 2026 22:13Andrew Epstein10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 23:084,43523,225,60314,195,00002,117,632
2Oct 10, 2026 23:084,43824,603,27013,175,0001,028,0002,117,632
3Oct 10, 2026 23:084,44423,233,10714,222,00002,117,632
4Oct 10, 2026 23:084,44623,180,77714,230,00002,117,632
5Oct 10, 2026 23:084,45523,263,87813,230,0001,028,0002,117,632
6Oct 10, 2026 23:084,46523,223,12913,268,0001,022,0002,117,632
7Oct 10, 2026 23:084,46723,243,10813,279,0001,018,0002,117,632
8Oct 10, 2026 23:084,47523,236,72513,316,0001,006,0002,117,632
9Oct 10, 2026 23:084,48823,326,94613,354,0001,010,0002,117,632