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 listJun 2, 2021 14:19Yuriy LyfenkoYuriy LyfenkoScore: 5,045Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:195,01033,654,73815,030,0001,002,0002,265,088
2Jun 2, 2021 14:195,02533,567,94015,075,0001,005,0002,265,088
3Jun 2, 2021 14:195,02532,971,06514,071,0002,010,0002,396,160
4Jun 2, 2021 14:195,02532,231,39114,071,0002,010,0002,396,160
5Jun 2, 2021 14:195,02845,041,81514,077,0002,011,0002,527,232
6Jun 2, 2021 14:195,02943,116,17614,083,0002,011,0002,265,088
7Jun 2, 2021 14:195,04533,714,81315,136,0001,009,0002,265,088
8Jun 2, 2021 14:195,04735,641,95514,131,0002,018,0002,265,088
9Jun 2, 2021 14:195,07334,511,39614,203,0002,029,0002,383,872
10Jun 2, 2021 14:195,24672,141,64216,787,50902,277,376
11Jun 2, 2021 14:195,25177,650,75616,801,80802,277,376
12Jun 2, 2021 14:195,26584,760,98016,846,51502,281,472