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 listApr 7, 2022 21:01Egor SergeevEgor SergeevScore: 5,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 21:015,12136,148,32216,387,00002,269,184
2Apr 7, 2022 21:015,13329,189,97116,425,00002,277,376
3Apr 7, 2022 21:015,13939,090,44016,444,00002,498,560
4Apr 7, 2022 21:015,14035,620,18715,420,0001,028,0002,281,472
5Apr 7, 2022 21:015,15235,930,30116,487,00002,502,656
6Apr 7, 2022 21:015,15535,548,95316,497,00002,494,464
7Apr 7, 2022 21:015,16238,335,99416,517,00002,506,752
8Apr 7, 2022 21:015,16435,299,90416,525,00002,277,376
9Apr 7, 2022 21:015,16535,372,63516,528,00002,277,376
10Apr 7, 2022 21:015,40395,213,83417,288,73802,240,512
11Apr 7, 2022 21:015,40467,031,14617,291,75702,236,416
12Apr 7, 2022 21:015,45479,402,30617,452,98202,244,608