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:13Yuriy LyfenkoYuriy LyfenkoScore: 5,449Success
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:135,39847,110,93115,241,0002,032,0002,265,088
2May 27, 2021 17:135,40638,666,91416,283,0001,017,0002,396,160
3May 27, 2021 17:135,41143,335,54517,314,00002,396,160
4May 27, 2021 17:135,42239,721,13717,350,00002,392,064
5May 27, 2021 17:135,42839,864,39317,371,00002,527,232
6May 27, 2021 17:135,44640,149,73417,427,00002,265,088
7May 27, 2021 17:135,44940,896,94317,436,00002,527,232
8May 27, 2021 17:135,45839,385,16116,440,0001,027,0002,473,984
9May 27, 2021 17:135,48440,027,20716,517,0001,032,0002,392,064
10May 27, 2021 17:135,58598,591,13117,872,83002,269,184
11May 27, 2021 17:135,59960,339,41317,915,98902,269,184
12May 27, 2021 17:135,63939,463,32718,045,85602,281,472