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 listMay 24, 2021 07:08Yuriy LyfenkoYuriy LyfenkoScore: 5,113Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:085,05840,430,51015,176,0001,011,0002,404,352
2May 24, 2021 07:085,06035,244,98814,169,0002,024,0002,265,088
3May 24, 2021 07:085,08837,300,57515,263,0001,017,0002,400,256
4May 24, 2021 07:085,09437,458,22616,300,00002,387,968
5May 24, 2021 07:085,10334,454,98214,288,0002,041,0002,265,088
6May 24, 2021 07:085,10932,343,36214,306,0002,043,0002,396,160
7May 24, 2021 07:085,11341,159,49516,361,00002,392,064
8May 24, 2021 07:085,11839,825,79615,354,0001,023,0002,523,136
9May 24, 2021 07:085,12440,593,55816,397,00002,265,088
10May 24, 2021 07:085,29772,577,43516,950,77802,273,280
11May 24, 2021 07:085,33376,305,59217,064,03802,285,568
12May 24, 2021 07:085,38982,591,66017,243,22202,281,472