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 12, 2021 21:02Yuriy LyfenkoYuriy LyfenkoScore: 5,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 21:025,63534,842,90416,028,0002,003,0002,260,992
2May 12, 2021 21:025,63942,053,06816,041,0002,005,0002,523,136
3May 12, 2021 21:025,64449,500,19016,055,0002,006,0002,523,136
4May 12, 2021 21:025,64947,840,68317,072,0001,004,0002,523,136
5May 12, 2021 21:025,65943,875,61916,096,0002,012,0002,265,088
6May 12, 2021 21:025,67146,667,12416,132,0002,016,0002,396,160
7May 12, 2021 21:025,67740,084,61915,139,0003,027,0002,400,256
8May 12, 2021 21:025,67942,536,20215,145,0003,029,0002,523,136
9May 12, 2021 21:025,69045,772,49617,197,0001,011,0002,506,752
10May 12, 2021 21:025,85589,524,14218,736,52802,273,280
11May 12, 2021 21:025,88078,975,93218,816,58202,273,280
12May 12, 2021 21:025,91376,159,49118,921,09802,277,376