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 25, 2021 15:54Yuriy LyfenkoYuriy LyfenkoScore: 5,169Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:545,12934,398,39616,412,00002,265,088
2May 25, 2021 15:545,13648,314,20715,409,0001,027,0002,396,160
3May 25, 2021 15:545,14237,051,66916,455,00002,387,968
4May 25, 2021 15:545,14339,530,86616,458,00002,392,064
5May 25, 2021 15:545,15736,287,30715,470,0001,031,0002,392,064
6May 25, 2021 15:545,16538,797,40016,529,00002,527,232
7May 25, 2021 15:545,16931,079,26816,542,00002,265,088
8May 25, 2021 15:545,20847,693,00115,623,0001,041,0002,392,064
9May 25, 2021 15:545,21333,748,59216,680,00002,265,088
10May 25, 2021 15:545,33952,272,35717,084,64702,269,184
11May 25, 2021 15:545,36479,410,96617,164,72702,273,280
12May 25, 2021 15:545,36582,983,67717,167,82202,277,376