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 17, 2021 15:11Yuriy LyfenkoYuriy LyfenkoScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:115,2833,912,003,03214,917,0001,988,0002,527,232
2May 17, 2021 15:115,2864,728,611,03116,915,00002,260,992
3May 17, 2021 15:115,2963,619,067,97216,947,00002,527,232
4May 17, 2021 15:115,3004,589,433,39014,965,0001,995,0002,260,992
5May 17, 2021 15:115,3062,411,152,29614,981,0001,997,0002,260,992
6May 17, 2021 15:115,3162,327,617,58216,012,0001,000,0002,260,992
7May 17, 2021 15:115,317866,460,32117,014,00002,265,088
8May 17, 2021 15:115,3202,912,200,33816,023,0001,001,0002,527,232
9May 17, 2021 15:115,3432,102,986,63216,147,000949,0002,269,184
10May 17, 2021 15:115,4533,182,117,52017,448,75802,277,376
11May 17, 2021 15:115,4654,523,554,98417,487,31702,277,376
12May 17, 2021 15:115,4883,834,548,05417,560,28202,289,664