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 14:03Mark R BestMark R BestScore: 14,985Success
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 14:0314,88372,593,95415,200,00032,427,0002,441,216
2Dec 29, 2025 14:0314,94973,553,08814,949,00032,888,0002,289,664
3Dec 29, 2025 14:0314,98273,964,24914,982,00032,960,0002,297,856
4Dec 29, 2025 14:0314,98576,537,54017,982,00029,971,0002,289,664
5Dec 29, 2025 14:0315,07073,806,64615,070,00033,155,0002,289,664
6Dec 29, 2025 14:0315,26974,252,58019,943,00028,917,0002,289,664