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 21:14Mark R BestMark R BestScore: 5,583Success
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 21:145,52045,518,11116,624,0001,039,0002,363,392
2Dec 29, 2025 21:145,52542,000,28117,681,00002,285,568
3Dec 29, 2025 21:145,52948,028,60717,693,00002,371,584
4Dec 29, 2025 21:145,58244,525,81617,861,00002,285,568
5Dec 29, 2025 21:145,58343,821,62116,872,000992,0002,285,568
6Dec 29, 2025 21:145,58334,409,10116,872,000992,0002,285,568
7Dec 29, 2025 21:145,58645,064,06516,881,000993,0002,371,584
8Dec 29, 2025 21:145,58643,747,13417,875,00002,367,488
9Dec 29, 2025 21:145,59242,151,00115,905,0001,988,0002,473,984