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 30, 2025 08:06wainCGPwainCGPScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2025 08:065,27342,746,20515,882,000992,0002,531,328
2Mar 30, 2025 08:065,27941,910,24014,905,0001,987,0002,433,024
3Mar 30, 2025 08:065,28140,360,00716,898,00002,433,024
4Mar 30, 2025 08:065,28936,238,76514,934,0001,991,0002,420,736
5Mar 30, 2025 08:065,29238,803,20415,938,000996,0002,531,328
6Mar 30, 2025 08:065,29345,330,40814,946,0001,992,0002,531,328
7Mar 30, 2025 08:065,29545,555,16715,948,000996,0002,269,184
8Mar 30, 2025 08:065,30639,854,79815,980,000998,0002,420,736
9Mar 30, 2025 08:065,33130,096,38716,055,0001,003,0002,531,328