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 listJun 2, 2021 18:59Yuriy LyfenkoYuriy LyfenkoScore: 5,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:594,997139,302,27413,991,0001,998,0002,281,472
2Jun 2, 2021 18:594,997139,831,25213,992,0001,998,0002,281,472
3Jun 2, 2021 18:595,001140,175,58015,002,0001,000,0002,400,256
4Jun 2, 2021 18:595,016143,738,06915,048,0001,003,0002,281,472
5Jun 2, 2021 18:595,018142,849,98314,049,0002,007,0002,408,448
6Jun 2, 2021 18:595,025143,309,21114,071,0002,010,0002,273,280
7Jun 2, 2021 18:595,038141,112,56814,107,0002,015,0002,400,256
8Jun 2, 2021 18:595,039142,102,49115,117,0001,007,0002,281,472
9Jun 2, 2021 18:595,050141,452,48615,150,0001,010,0002,281,472
10Jun 2, 2021 18:595,151178,547,60516,482,48902,256,896
11Jun 2, 2021 18:595,225171,183,82616,721,56102,289,664
12Jun 2, 2021 18:595,277173,342,07516,885,40802,252,800