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 listJun 3, 2026 10:58IlyaIlyaScore: 4,322Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 10:584,30322,749,08813,772,00002,113,536
2Jun 3, 2026 10:584,30522,790,81712,765,0001,012,0002,113,536
3Jun 3, 2026 10:584,30722,854,65913,784,00002,113,536
4Jun 3, 2026 10:584,30922,866,33512,786,0001,005,0002,113,536
5Jun 3, 2026 10:584,32222,868,42012,829,0001,002,0002,113,536
6Jun 3, 2026 10:584,32822,921,13912,794,0001,056,0002,113,536
7Jun 3, 2026 10:584,33422,922,08412,812,0001,058,0002,113,536
8Jun 3, 2026 10:584,33822,927,36012,836,0001,046,0002,113,536
9Jun 3, 2026 10:584,34822,832,37512,853,0001,063,0002,113,536