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 17:59Yuriy LyfenkoYuriy LyfenkoScore: 5,441Success
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 17:595,4024,241,108,73517,285,00002,519,040
2May 16, 2021 17:595,4064,239,965,98816,283,0001,017,0002,265,088
3May 16, 2021 17:595,4184,242,884,48614,278,0003,059,0002,523,136
4May 16, 2021 17:595,4194,241,257,79517,342,00002,265,088
5May 16, 2021 17:595,4264,239,045,39316,342,0001,021,0002,523,136
6May 16, 2021 17:595,4344,243,740,56215,343,0002,045,0002,260,992
7May 16, 2021 17:595,4414,246,486,03317,410,00002,265,088
8May 16, 2021 17:595,4434,241,856,03117,419,00002,523,136
9May 16, 2021 17:595,4624,244,528,08816,450,0001,028,0002,265,088
10May 16, 2021 17:595,6374,291,492,19018,038,64902,285,568
11May 16, 2021 17:595,6544,284,514,23618,092,24202,277,376
12May 16, 2021 17:595,6684,285,751,54418,139,01902,281,472