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 listNov 6, 2026 12:02Andrew EpsteinAndrew EpsteinScore: 4,095Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2026 12:064,07922,236,11213,053,000024,576stderr
2Nov 6, 2026 12:064,08722,235,81313,081,000024,576stderr
3Nov 6, 2026 12:064,08922,273,80613,086,000024,576stderr
4Nov 6, 2026 12:064,09222,278,63513,096,000024,576stderr
5Nov 6, 2026 12:064,09522,713,17913,107,000024,576stderr
6Nov 6, 2026 12:064,09922,332,12513,119,000024,576stderr
7Nov 6, 2026 12:064,10022,521,60913,121,000024,576stderr
8Nov 6, 2026 12:064,10522,352,89113,139,000024,576stderr
9Nov 6, 2026 12:064,10622,550,25613,141,000024,576stderr