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 23, 2021 14:43Yuriy LyfenkoYuriy LyfenkoScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:435,28945,513,08315,929,000995,0002,392,064
2May 23, 2021 14:435,29549,113,87815,948,000996,0002,265,088
3May 23, 2021 14:435,30841,629,43915,987,000999,0002,265,088
4May 23, 2021 14:435,31143,417,92815,995,000999,0002,396,160
5May 23, 2021 14:435,31442,513,97915,004,0002,000,0002,527,232
6May 23, 2021 14:435,32243,110,10216,028,0001,001,0002,265,088
7May 23, 2021 14:435,33836,397,75815,072,0002,009,0002,265,088
8May 23, 2021 14:435,35139,534,76616,117,0001,007,0002,387,968
9May 23, 2021 14:435,35142,239,63616,117,0001,007,0002,265,088
10May 23, 2021 14:435,53384,942,65417,706,54002,281,472
11May 23, 2021 14:435,53674,214,47817,715,95802,277,376
12May 23, 2021 14:435,56976,954,22917,820,27702,277,376