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:35IlyaIlyaScore: 4,260Success
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:354,24722,950,58812,586,0001,005,0002,113,536
2Jul 2, 2026 17:354,24722,887,94012,572,0001,021,0002,113,536
3Jul 2, 2026 17:354,25124,500,27712,544,0001,062,0002,113,536
4Jul 2, 2026 17:354,25522,969,03012,541,0001,075,0002,113,536
5Jul 2, 2026 17:354,26022,984,47612,575,0001,059,0002,113,536
6Jul 2, 2026 17:354,26323,040,11712,577,0001,065,0002,113,536
7Jul 2, 2026 17:354,26922,979,30412,563,0001,099,0002,113,536
8Jul 2, 2026 17:354,27122,996,14612,587,0001,082,0002,113,536
9Jul 2, 2026 17:354,27223,011,49412,600,0001,071,0002,113,536