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 17, 2021 18:57Yuriy LyfenkoYuriy LyfenkoScore: 5,361Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 18:575,3221,456,072,73217,029,00002,265,088
2May 17, 2021 18:575,3391,539,617,94214,070,0003,015,0002,392,064
3May 17, 2021 18:575,3431,315,482,39916,092,0001,005,0002,392,064
4May 17, 2021 18:575,3441,396,367,77313,302,0003,800,0002,265,088
5May 17, 2021 18:575,3451,583,874,84516,099,0001,006,0002,527,232
6May 17, 2021 18:575,3481,574,694,31413,088,0004,027,0002,265,088
7May 17, 2021 18:575,361839,365,81416,201,000953,0002,265,088
8May 17, 2021 18:575,373470,300,89316,237,000955,0002,265,088
9May 17, 2021 18:575,3771,893,789,68015,295,0001,911,0002,265,088
10May 17, 2021 18:575,543662,295,31117,738,03502,277,376
11May 17, 2021 18:575,5461,571,284,33117,748,79002,277,376
12May 17, 2021 18:575,5491,034,012,28117,756,35802,281,472