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 27, 2021 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:505,30542,912,05414,980,0001,997,0002,396,160
2May 27, 2021 19:505,30941,379,21715,990,000999,0002,265,088
3May 27, 2021 19:505,30943,817,26414,991,0001,998,0002,396,160
4May 27, 2021 19:505,31743,054,19715,014,0002,001,0002,265,088
5May 27, 2021 19:505,32335,791,43215,030,0002,004,0002,396,160
6May 27, 2021 19:505,32535,853,67015,035,0002,004,0002,265,088
7May 27, 2021 19:505,32847,171,16415,045,0002,006,0002,265,088
8May 27, 2021 19:505,33348,045,10815,059,0002,007,0002,396,160
9May 27, 2021 19:505,33743,309,72216,073,0001,004,0002,527,232
10May 27, 2021 19:505,48855,483,48517,560,21702,281,472
11May 27, 2021 19:505,53771,732,39417,719,75102,277,376
12May 27, 2021 19:505,61039,633,53517,950,70202,273,280