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 listJan 28, 2026 09:52opisafaqopisafaqScore: 32,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 09:5232,560127,419,47576,141,00028,052,0002,265,088
2Jan 28, 2026 09:5232,613129,779,01776,264,00028,097,0002,265,088
3Jan 28, 2026 09:5232,618126,659,24176,277,00028,102,0002,445,312
4Jan 28, 2026 09:5232,623125,704,55677,292,00027,102,0002,523,136
5Jan 28, 2026 09:5232,983130,294,99679,411,00026,135,0002,441,216
6Jan 28, 2026 09:5233,000130,359,61977,441,00028,160,0002,523,136
7Jan 28, 2026 09:5233,061131,340,77873,858,00031,938,0002,265,088
8Jan 28, 2026 09:5233,077127,116,07877,886,00027,959,0002,260,992
9Jan 28, 2026 09:5233,140131,386,42773,034,00033,015,0002,523,136