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 16:03Mark R BestMark R BestScore: 13,213Success
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 16:0012,91966,398,90618,149,00023,191,0002,289,664
2Dec 29, 2025 15:5812,97369,061,44115,187,00026,325,0002,289,664
3Dec 29, 2025 16:0013,10472,269,40319,968,00021,965,0002,289,664
4Dec 29, 2025 16:0313,11773,897,36616,989,00024,984,0002,289,664
5Dec 29, 2025 15:5813,21365,934,45718,121,00024,162,0002,502,656
6Dec 29, 2025 16:0013,70467,896,34118,937,00024,917,0002,502,656
7Dec 29, 2025 16:0313,74673,567,97422,994,00020,994,0002,510,848
8Dec 29, 2025 16:0314,04175,080,17220,968,00023,964,0002,502,656
9Dec 29, 2025 15:5814,27972,476,37718,277,00027,415,0002,289,664