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 30, 2022 19:24Hal FHal FScore: 5,937Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 19:245,89744,381,41317,878,000993,0002,277,376
2Dec 30, 2022 19:245,90146,702,25316,895,0001,987,0002,277,376
3Dec 30, 2022 19:245,90748,290,37017,853,0001,050,0002,265,088
4Dec 30, 2022 19:245,91142,784,03516,924,0001,991,0002,531,328
5Dec 30, 2022 19:245,91443,189,18218,925,00002,281,472
6Dec 30, 2022 19:245,92539,960,37015,966,0002,993,0002,277,376
7Dec 30, 2022 19:245,93743,566,16116,999,0001,999,0002,527,232
8Dec 30, 2022 19:245,94144,005,20417,010,0002,001,0002,523,136
9Dec 30, 2022 19:245,95744,907,10917,056,0002,006,0002,277,376
10Dec 30, 2022 19:246,196100,953,67719,827,47802,293,760
11Dec 30, 2022 19:246,20084,955,50719,840,49502,301,952
12Dec 30, 2022 19:246,21195,111,36219,876,34002,297,856