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 30, 2024 21:59Joad NacerJoad NacerScore: 4,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 21:594,34328,851,25411,913,0001,985,0002,424,832
2Nov 30, 2024 21:594,35335,746,01412,936,000995,0002,531,328
3Nov 30, 2024 21:594,35726,901,84612,946,000995,0002,424,832
4Nov 30, 2024 21:594,35735,135,43913,942,00002,269,184
5Nov 30, 2024 21:594,36728,387,32612,976,000998,0002,531,328
6Nov 30, 2024 21:594,36928,931,24012,983,000998,0002,433,024
7Nov 30, 2024 21:594,37331,006,78412,995,000999,0002,433,024
8Nov 30, 2024 21:594,37530,744,59613,001,0001,000,0002,510,848
9Nov 30, 2024 21:594,54841,576,09813,513,0001,039,0002,433,024