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 5, 2026 17:08FrederickFrederickScore: 4,242Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 17:144,2376,022,381,93413,561,00002,113,536
2Oct 5, 2026 17:144,2396,022,516,31213,567,00002,113,536
3Oct 5, 2026 17:144,2406,022,593,87413,571,00002,113,536
4Oct 5, 2026 17:144,2416,022,499,95413,572,00002,113,536
5Oct 5, 2026 17:144,2426,022,344,71013,575,00002,117,632
6Oct 5, 2026 17:144,2436,022,507,03813,579,00002,117,632
7Oct 5, 2026 17:144,2456,022,476,57313,586,00002,113,536
8Oct 5, 2026 17:144,2876,022,645,23913,720,00002,113,536
9Oct 5, 2026 17:144,3156,022,694,47313,809,00002,113,536