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 listDec 29, 2025 13:17Mark R BestMark R BestScore: 13,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:1713,68173,981,26614,924,00028,854,0002,379,776
2Dec 29, 2025 13:1713,71269,556,81513,961,00029,916,0002,383,872
3Dec 29, 2025 13:1713,76666,806,56615,017,00029,034,0002,289,664
4Dec 29, 2025 13:1713,78364,247,41415,035,00029,069,0002,371,584
5Dec 29, 2025 13:1713,85470,856,90016,121,00028,212,0002,289,664
6Dec 29, 2025 13:1713,91367,402,30212,142,00032,379,0002,289,664