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 listMay 31, 2026 21:30IlyaIlyaScore: 47,854Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2026 21:3047,303160,400,54046,021,000105,349,0002,117,632
2May 31, 2026 21:3047,595166,182,81146,014,000106,293,0002,117,632
3May 31, 2026 21:3047,650161,559,25245,972,000106,508,0002,113,536
4May 31, 2026 21:3047,754161,749,43146,018,000106,796,0002,113,536
5May 31, 2026 21:3047,854162,157,56046,017,000107,118,0002,117,632
6May 31, 2026 21:3049,613167,761,27152,258,000106,506,0002,113,536
7May 31, 2026 21:3049,791168,338,24252,251,000107,082,0002,113,536
8May 31, 2026 21:3050,009169,035,11252,167,000107,864,0002,113,536
9May 31, 2026 21:3050,077169,296,35651,884,000108,364,0002,113,536