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 8, 2026 13:03janwwwjanwwwScore: 4,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2026 13:034,05022,580,83912,962,000020,480
2Nov 8, 2026 13:034,05122,266,39812,964,000020,480
3Nov 8, 2026 13:034,05822,287,41112,987,000020,480
4Nov 8, 2026 13:034,05822,245,35812,987,000020,480
5Nov 8, 2026 13:034,06122,181,19912,998,000020,480
6Nov 8, 2026 13:034,06222,295,77113,001,000020,480
7Nov 8, 2026 13:034,06523,639,24813,008,000020,480
8Nov 8, 2026 13:034,06722,326,38913,017,000020,480
9Nov 8, 2026 13:034,11222,451,98213,160,000020,480