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 15, 2021 22:04Yuriy LyfenkoYuriy LyfenkoScore: 5,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:045,44741,313,58617,431,00002,265,088
2May 15, 2021 22:045,44945,023,39217,436,00002,396,160
3May 15, 2021 22:045,45332,637,89315,397,0002,052,0002,396,160
4May 15, 2021 22:045,46943,876,08316,471,0001,029,0002,269,184
5May 15, 2021 22:045,47340,349,32017,512,00002,392,064
6May 15, 2021 22:045,47742,815,31917,526,00002,265,088
7May 15, 2021 22:045,47837,264,63616,498,0001,031,0002,523,136
8May 15, 2021 22:045,55242,374,12814,631,0003,135,0002,396,160
9May 15, 2021 22:045,58646,939,42315,889,0001,986,0002,490,368
10May 15, 2021 22:045,67484,738,37718,155,74502,281,472
11May 15, 2021 22:045,68967,667,27618,204,43402,277,376
12May 15, 2021 22:045,69568,082,05918,223,89702,277,376