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 21:42IlyaIlyaError
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 21:42023,177,46312,856,0001,018,0002,113,536expected "975966 ", got "1303520 "
2Jul 2, 2026 21:42023,327,33812,879,0001,030,0002,113,536expected "976427 ", got "1303505 "
3Jul 2, 2026 21:42023,361,30712,936,0001,065,0002,113,536expected "976937 ", got "1304550 "