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 26, 2021 20:34Yuriy LyfenkoYuriy LyfenkoScore: 5,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 20:345,16538,926,51215,496,0001,033,0002,265,088
2May 26, 2021 20:345,17732,188,18215,531,0001,035,0002,265,088
3May 26, 2021 20:345,18232,825,54416,583,00002,392,064
4May 26, 2021 20:345,18940,632,52515,568,0001,037,0002,514,944
5May 26, 2021 20:345,19646,407,06216,627,00002,265,088
6May 26, 2021 20:345,21134,177,68815,632,0001,042,0002,265,088
7May 26, 2021 20:345,21743,111,64815,650,0001,043,0002,265,088
8May 26, 2021 20:345,21945,515,30516,701,00002,265,088
9May 26, 2021 20:345,23147,609,63916,739,00002,265,088
10May 26, 2021 20:345,32148,147,81317,028,07802,277,376
11May 26, 2021 20:345,37675,432,64317,203,09602,285,568
12May 26, 2021 20:345,37794,468,72017,207,81702,281,472