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 8, 2026 20:30IlyaIlyaScore: 4,245Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 20:304,22023,047,02412,499,0001,007,0002,113,536
2Jul 8, 2026 20:304,23122,946,99112,491,0001,051,0002,113,536
3Jul 8, 2026 20:304,23323,090,29312,487,0001,060,0002,113,536
4Jul 8, 2026 20:304,24023,020,86012,494,0001,077,0002,113,536
5Jul 8, 2026 20:304,24523,198,16312,505,0001,081,0002,113,536
6Jul 8, 2026 20:304,24723,113,33812,524,0001,069,0002,113,536
7Jul 8, 2026 20:304,24923,028,55812,534,0001,063,0002,113,536
8Jul 8, 2026 20:304,25023,050,93712,538,0001,063,0002,113,536
9Jul 8, 2026 20:304,25723,139,14512,512,0001,113,0002,113,536