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 11:05FrederickFrederickScore: 4,211Success
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 11:064,1923,023,334,06713,415,00002,113,536
2Oct 5, 2026 11:064,1993,022,425,22813,439,00002,113,536
3Oct 5, 2026 11:064,2013,022,408,43213,445,00002,113,536
4Oct 5, 2026 11:064,2053,022,404,76613,456,00002,113,536
5Oct 5, 2026 11:064,2113,022,402,54013,477,00002,113,536
6Oct 5, 2026 11:064,2153,022,482,19313,490,00002,113,536
7Oct 5, 2026 11:064,2173,022,438,51413,496,00002,113,536
8Oct 5, 2026 11:064,2173,022,437,37113,497,00002,113,536
9Oct 5, 2026 11:064,2283,022,543,69113,532,00002,113,536