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 1, 2026 12:36IlyaIlyaScore: 5,119Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 12:365,08025,342,15815,256,0001,003,0002,113,536
2Jun 1, 2026 12:365,08325,316,03715,258,0001,009,0002,113,536
3Jun 1, 2026 12:365,10525,277,18915,292,0001,046,0002,113,536
4Jun 1, 2026 12:365,11525,392,59615,316,0001,055,0002,113,536
5Jun 1, 2026 12:365,11925,419,33615,325,0001,056,0002,113,536
6Jun 1, 2026 12:365,12025,400,25915,339,0001,045,0002,113,536
7Jun 1, 2026 12:365,12625,448,38315,360,0001,046,0002,113,536
8Jun 1, 2026 12:365,13225,398,64415,367,0001,057,0002,113,536
9Jun 1, 2026 12:365,13725,467,69315,375,0001,066,0002,113,536