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 listMar 18, 2025 14:11wainCGPwainCGPScore: 5,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2025 14:115,42839,245,44515,325,0002,043,0002,269,184
2Mar 18, 2025 14:115,43545,919,70815,347,0002,046,0002,289,664
3Mar 18, 2025 14:115,43634,654,41315,350,0002,046,0002,289,664
4Mar 18, 2025 14:115,43835,452,54216,379,0001,023,0002,277,376
5Mar 18, 2025 14:115,44040,474,42915,361,0002,048,0002,273,280
6Mar 18, 2025 14:115,45243,933,12416,419,0001,026,0002,289,664
7Mar 18, 2025 14:115,45440,957,30215,399,0002,053,0002,269,184
8Mar 18, 2025 14:115,46340,704,97416,452,0001,028,0002,289,664
9Mar 18, 2025 14:115,46540,331,17716,461,0001,028,0002,289,664