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 16, 2021 18:00Yuriy LyfenkoYuriy LyfenkoScore: 5,423Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:005,3914,239,907,35514,208,0003,044,0002,260,992
2May 16, 2021 18:005,4104,239,082,06814,257,0003,055,0002,519,040
3May 16, 2021 18:005,4114,240,631,04116,296,0001,018,0002,396,160
4May 16, 2021 18:005,4124,246,565,90317,319,00002,523,136
5May 16, 2021 18:005,4194,238,692,83717,340,00002,523,136
6May 16, 2021 18:005,4234,243,772,65316,335,0001,020,0002,519,040
7May 16, 2021 18:005,4234,241,303,84315,314,0002,041,0002,523,136
8May 16, 2021 18:005,4244,241,453,05417,356,00002,260,992
9May 16, 2021 18:005,4354,247,591,18716,369,0001,023,0002,523,136
10May 16, 2021 18:005,6384,290,787,35618,042,35502,281,472
11May 16, 2021 18:005,6544,294,246,73018,092,11702,285,568
12May 16, 2021 18:005,6724,278,793,37518,150,54802,281,472