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 listJul 5, 2026 21:44JhnWJhnWScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 21:445,10726,045,74115,319,0001,026,0002,113,536
2Jul 5, 2026 21:445,13825,945,60115,387,0001,056,0002,113,536
3Jul 5, 2026 21:445,15025,856,13515,376,0001,105,0002,113,536
4Jul 5, 2026 21:445,15225,832,60415,479,0001,009,0002,113,536
5Jul 5, 2026 21:445,15525,885,95715,437,0001,059,0002,113,536
6Jul 5, 2026 21:445,15725,836,77915,444,0001,061,0002,113,536
7Jul 5, 2026 21:445,15825,835,21715,443,0001,064,0002,113,536
8Jul 5, 2026 21:445,17425,872,74515,499,0001,060,0002,113,536
9Jul 5, 2026 21:445,18125,992,59515,494,0001,088,0002,113,536