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 15, 2021 22:06Yuriy LyfenkoYuriy LyfenkoScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:065,42539,026,09416,339,0001,021,0002,387,968
2May 15, 2021 22:065,43840,031,07716,379,0001,023,0002,265,088
3May 15, 2021 22:065,44942,394,43916,411,0001,025,0002,383,872
4May 15, 2021 22:065,48142,444,08317,539,00002,265,088
5May 15, 2021 22:065,48440,712,88716,516,0001,032,0002,260,992
6May 15, 2021 22:065,52746,289,20215,607,0002,080,0002,392,064
7May 15, 2021 22:065,58745,378,81816,886,000993,0002,523,136
8May 15, 2021 22:065,58845,071,11714,901,0002,980,0002,396,160
9May 15, 2021 22:065,59045,421,80417,889,00002,392,064
10May 15, 2021 22:065,69191,213,82318,210,74502,281,472
11May 15, 2021 22:065,71165,449,50018,274,58902,273,280
12May 15, 2021 22:065,72067,166,03118,303,79402,285,568