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 listJun 5, 2026 21:40IlyaIlyaScore: 5,239Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 21:405,10025,443,62215,279,0001,043,0002,113,536
2Jun 5, 2026 21:405,21925,762,22215,691,0001,010,0002,113,536
3Jun 5, 2026 21:405,23225,733,61315,724,0001,019,0002,113,536
4Jun 5, 2026 21:405,23825,922,43015,738,0001,026,0002,113,536
5Jun 5, 2026 21:405,23925,884,93315,763,0001,003,0002,113,536
6Jun 5, 2026 21:405,24325,847,49615,717,0001,061,0002,113,536
7Jun 5, 2026 21:405,24525,858,48115,769,0001,016,0002,113,536
8Jun 5, 2026 21:405,24725,931,28215,770,0001,021,0002,113,536
9Jun 5, 2026 21:405,26925,805,01715,798,0001,064,0002,113,536