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:04Yuriy LyfenkoYuriy LyfenkoScore: 5,494Success
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:045,44841,118,77016,408,0001,025,0002,260,992
2May 15, 2021 22:045,45135,560,54715,390,0002,052,0002,396,160
3May 15, 2021 22:045,45241,080,51216,419,0001,026,0002,523,136
4May 15, 2021 22:045,46640,305,32916,463,0001,028,0002,260,992
5May 15, 2021 22:045,47940,140,84716,501,0001,031,0002,392,064
6May 15, 2021 22:045,48246,104,60816,511,0001,031,0002,387,968
7May 15, 2021 22:045,49441,334,15617,581,00002,523,136
8May 15, 2021 22:045,53733,934,80317,718,00002,523,136
9May 15, 2021 22:045,58344,201,97013,897,0003,970,0002,383,872
10May 15, 2021 22:045,63088,678,82418,015,34502,281,472
11May 15, 2021 22:045,671104,175,30918,146,66702,273,280
12May 15, 2021 22:045,69992,978,28418,235,90002,285,568