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 listJul 2, 2026 17:31IlyaIlyaScore: 4,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 17:334,25022,964,44312,567,0001,035,0002,113,536
2Jul 2, 2026 17:334,26523,007,19212,618,0001,033,0002,113,536
3Jul 2, 2026 17:334,26623,009,72012,636,0001,016,0002,113,536
4Jul 2, 2026 17:334,26822,993,62112,598,0001,060,0002,113,536
5Jul 2, 2026 17:334,27223,019,37012,611,0001,060,0002,113,536
6Jul 2, 2026 17:334,27622,957,11912,621,0001,065,0002,113,536
7Jul 2, 2026 17:334,28023,031,69112,622,0001,077,0002,113,536
8Jul 2, 2026 17:334,28323,047,68812,635,0001,073,0002,113,536
9Jul 2, 2026 17:334,31723,195,43712,727,0001,090,0002,113,536