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 27, 2021 22:50gchebanovgchebanovScore: 5,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:505,32243,618,31115,026,0002,003,0002,392,064
2Jun 27, 2021 22:505,33942,515,49816,081,0001,005,0002,265,088
3Jun 27, 2021 22:505,34643,667,96416,100,0001,006,0002,265,088
4Jun 27, 2021 22:505,35347,143,65916,124,0001,007,0002,392,064
5Jun 27, 2021 22:505,36042,903,36216,143,0001,008,0002,392,064
6Jun 27, 2021 22:505,36135,455,17715,137,0002,018,0002,265,088
7Jun 27, 2021 22:505,36843,213,22516,168,0001,010,0002,383,872
8Jun 27, 2021 22:505,38835,851,24016,229,0001,014,0002,265,088
9Jun 27, 2021 22:505,39234,494,87015,225,0002,030,0002,265,088
10Jun 27, 2021 22:505,54451,529,66617,739,37302,285,568
11Jun 27, 2021 22:505,56186,574,67917,796,07902,281,472
12Jun 27, 2021 22:505,56955,578,84417,819,45002,269,184