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 15:32Yuriy LyfenkoYuriy LyfenkoScore: 5,070Success
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 15:325,02940,600,21614,082,0002,011,0002,392,064
2May 28, 2021 15:325,03233,143,45915,097,0001,006,0002,265,088
3May 28, 2021 15:325,03545,948,67315,106,0001,007,0002,527,232
4May 28, 2021 15:325,03644,080,78115,108,0001,007,0002,265,088
5May 28, 2021 15:325,03842,585,39215,115,0001,007,0002,265,088
6May 28, 2021 15:325,04441,784,04815,134,0001,008,0002,527,232
7May 28, 2021 15:325,07035,953,39915,210,0001,014,0002,396,160
8May 28, 2021 15:325,07331,657,68814,204,0002,029,0002,523,136
9May 28, 2021 15:325,07448,509,76114,208,0002,029,0002,260,992
10May 28, 2021 15:325,26078,918,90116,832,41702,285,568
11May 28, 2021 15:325,28047,977,59716,894,40602,273,280
12May 28, 2021 15:325,30975,544,75716,987,39702,277,376