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 30, 2026 20:56Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 04:27Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 04:27020,509,78412,769,00002,113,536expected "25000000 ", got "538112 "
2Jul 4, 2026 04:27020,622,70712,823,00002,113,536expected "25000000 ", got "538112 "
3Jul 4, 2026 04:27020,605,22612,819,00002,113,536expected "25000000 ", got "538112 "
4Jun 30, 2026 20:573,99020,422,18612,770,00002,113,536
5Jun 30, 2026 20:573,99120,536,10512,774,00002,113,536
6Jun 30, 2026 20:573,99320,595,09212,778,00002,113,536
7Jun 30, 2026 20:573,99620,480,64512,790,00002,113,536
8Jun 30, 2026 20:573,99620,635,22812,790,00002,113,536
9Jun 30, 2026 20:574,00022,147,96912,800,00002,113,536
10Jun 30, 2026 20:574,00320,505,20812,810,00002,113,536
11Jun 30, 2026 20:574,01520,608,64112,849,00002,113,536
12Jun 30, 2026 20:574,02920,589,59612,893,00002,113,536