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 listOct 1, 2022 14:53Sergey SlotinSergey SlotinScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:535,64440,949,24417,059,0001,003,0002,277,376
2Oct 1, 2022 14:535,66543,511,36616,115,0002,014,0002,277,376
3Oct 1, 2022 14:535,66640,515,33415,109,0003,021,0002,277,376
4Oct 1, 2022 14:535,66838,455,38115,115,0003,023,0002,392,064
5Oct 1, 2022 14:535,66945,203,55415,118,0003,023,0002,269,184
6Oct 1, 2022 14:535,68342,155,26516,164,0002,020,0002,269,184
7Oct 1, 2022 14:535,69345,292,83015,181,0003,036,0002,277,376
8Oct 1, 2022 14:535,70237,097,48416,220,0002,027,0002,277,376
9Oct 1, 2022 14:535,70740,575,74715,219,0003,043,0002,277,376
10Oct 1, 2022 14:535,939103,377,85419,004,57902,293,760
11Oct 1, 2022 14:535,955101,306,10519,056,62402,187,264
12Oct 1, 2022 14:535,956101,239,90119,058,60302,174,976