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 29, 2021 17:08Yuriy LyfenkoYuriy LyfenkoScore: 5,107Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:085,05032,587,44115,150,0001,010,0002,404,352
2May 29, 2021 17:085,05230,675,34314,145,0002,020,0002,400,256
3May 29, 2021 17:085,06333,086,88014,178,0002,025,0002,400,256
4May 29, 2021 17:085,06933,657,91215,207,0001,013,0002,281,472
5May 29, 2021 17:085,07832,779,32015,233,0001,015,0002,281,472
6May 29, 2021 17:085,08639,457,98714,240,0002,034,0002,281,472
7May 29, 2021 17:085,10738,271,28916,343,00002,281,472
8May 29, 2021 17:085,10835,868,72215,323,0001,021,0002,281,472
9May 29, 2021 17:085,11240,952,60616,357,00002,281,472
10May 29, 2021 17:085,23689,898,88016,753,99902,289,664
11May 29, 2021 17:085,24959,610,21416,796,22302,285,568
12May 29, 2021 17:085,26279,998,38016,838,29202,293,760