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 17:03Yuriy LyfenkoYuriy LyfenkoScore: 5,076Success
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 17:035,03247,333,11015,097,0001,006,0002,527,232
2May 27, 2021 17:035,03337,103,96215,098,0001,006,0002,396,160
3May 27, 2021 17:035,03537,853,00914,099,0002,014,0002,392,064
4May 27, 2021 17:035,04039,019,32114,112,0002,016,0002,404,352
5May 27, 2021 17:035,04932,892,18114,137,0002,019,0002,392,064
6May 27, 2021 17:035,06539,102,93114,182,0002,026,0002,265,088
7May 27, 2021 17:035,07645,453,06514,214,0002,030,0002,392,064
8May 27, 2021 17:035,07941,956,47715,238,0001,015,0002,265,088
9May 27, 2021 17:035,09943,597,54014,278,0002,039,0002,265,088
10May 27, 2021 17:035,24659,323,15116,785,95702,273,280
11May 27, 2021 17:035,26845,082,53716,856,52202,285,568
12May 27, 2021 17:035,29560,732,12416,944,21002,277,376