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 16:52IlyaIlyaScore: 4,264Success
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 16:524,23822,963,14012,542,0001,020,0002,113,536
2Jul 2, 2026 16:524,24322,921,08412,563,0001,015,0002,113,536
3Jul 2, 2026 16:524,25022,826,44612,586,0001,017,0002,113,536
4Jul 2, 2026 16:524,25923,004,37612,571,0001,060,0002,113,536
5Jul 2, 2026 16:524,26423,038,08512,579,0001,067,0002,113,536
6Jul 2, 2026 16:524,27023,074,40812,583,0001,081,0002,113,536
7Jul 2, 2026 16:524,27022,966,51912,606,0001,060,0002,113,536
8Jul 2, 2026 16:524,27823,003,23912,623,0001,069,0002,113,536
9Jul 2, 2026 16:524,28323,114,77412,631,0001,075,0002,113,536