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 21, 2025 20:50jhallgreenjhallgreenScore: 4,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 20:504,63942,815,60713,857,000989,0002,293,760
2Dec 21, 2025 20:504,64739,442,01012,888,0001,982,0002,269,184
3Dec 21, 2025 20:504,66135,312,59012,928,0001,988,0002,293,760
4Dec 21, 2025 20:504,66331,857,20512,933,0001,989,0002,293,760
5Dec 21, 2025 20:504,66834,510,95612,945,0001,991,0002,269,184
6Dec 21, 2025 20:504,67330,998,51013,887,0001,068,0002,293,760
7Dec 21, 2025 20:504,67541,374,36512,965,0001,994,0002,293,760
8Dec 21, 2025 20:504,67834,593,37513,971,000997,0002,277,376
9Dec 21, 2025 20:504,71933,908,55413,088,0002,013,0002,359,296