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 3, 2026 10:56IlyaIlyaScore: 4,324Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 10:564,30122,812,84012,761,0001,005,0002,113,536
2Jun 3, 2026 10:564,30522,762,30112,771,0001,008,0002,113,536
3Jun 3, 2026 10:564,32022,777,71112,771,0001,054,0002,113,536
4Jun 3, 2026 10:564,32322,762,28312,782,0001,053,0002,113,536
5Jun 3, 2026 10:564,32422,915,16412,822,0001,015,0002,113,536
6Jun 3, 2026 10:564,32722,861,48812,808,0001,040,0002,113,536
7Jun 3, 2026 10:564,33022,902,18912,835,0001,023,0002,113,536
8Jun 3, 2026 10:564,34124,093,40812,775,0001,119,0002,113,536
9Jun 3, 2026 10:564,34822,986,56112,857,0001,057,0002,113,536