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 15, 2021 22:22Yuriy LyfenkoYuriy LyfenkoScore: 5,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:225,42837,156,89817,371,00002,523,136
2May 15, 2021 22:225,43141,611,82815,336,0002,044,0002,392,064
3May 15, 2021 22:225,43539,113,66116,368,0001,023,0002,396,160
4May 15, 2021 22:225,44238,501,73516,391,0001,024,0002,260,992
5May 15, 2021 22:225,45238,755,54817,447,00002,392,064
6May 15, 2021 22:225,45536,926,59717,456,00002,523,136
7May 15, 2021 22:225,47134,392,20917,507,00002,265,088
8May 15, 2021 22:225,47642,744,26015,463,0002,061,0002,523,136
9May 15, 2021 22:225,48834,486,81217,561,00002,523,136
10May 15, 2021 22:225,66586,025,75818,127,86902,281,472
11May 15, 2021 22:225,68462,365,62818,188,33102,285,568
12May 15, 2021 22:225,72558,861,32818,319,99302,285,568