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 15:42IlyaIlyaScore: 4,379Success
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 15:424,34123,153,09612,889,0001,004,0002,113,536
2Jul 2, 2026 15:424,36623,323,42212,968,0001,004,0002,113,536
3Jul 2, 2026 15:424,36823,293,82012,925,0001,055,0002,113,536
4Jul 2, 2026 15:424,37023,283,55012,920,0001,067,0002,113,536
5Jul 2, 2026 15:424,37923,320,13212,940,0001,075,0002,113,536
6Jul 2, 2026 15:424,38323,396,48812,930,0001,096,0002,113,536
7Jul 2, 2026 15:424,38623,308,03212,970,0001,067,0002,113,536
8Jul 2, 2026 15:424,39023,457,58912,971,0001,078,0002,113,536
9Jul 2, 2026 15:424,42023,493,36413,112,0001,034,0002,113,536