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 28, 2021 07:08Yuriy LyfenkoYuriy LyfenkoScore: 5,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 07:085,10632,288,11516,339,00002,265,088
2May 28, 2021 07:085,10638,417,39916,340,00002,527,232
3May 28, 2021 07:085,11331,284,85515,339,0001,022,0002,510,848
4May 28, 2021 07:085,11440,291,08715,342,0001,022,0002,265,088
5May 28, 2021 07:085,12141,066,67815,363,0001,024,0002,265,088
6May 28, 2021 07:085,14234,003,73716,453,00002,265,088
7May 28, 2021 07:085,15936,291,86216,510,00002,392,064
8May 28, 2021 07:085,16135,695,15415,484,0001,032,0002,265,088
9May 28, 2021 07:085,16431,754,80016,525,00002,392,064
10May 28, 2021 07:085,30452,312,48816,971,36902,281,472
11May 28, 2021 07:085,32195,619,96917,026,65802,269,184
12May 28, 2021 07:085,35985,288,05217,148,73002,277,376