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 19:14Yuriy LyfenkoYuriy LyfenkoScore: 5,115Success
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 19:145,068540,666,94016,218,00002,273,280
2Jun 2, 2021 19:145,084536,809,73316,270,00002,273,280
3Jun 2, 2021 19:145,097544,673,20215,290,0001,019,0002,281,472
4Jun 2, 2021 19:145,101543,139,85416,322,00002,273,280
5Jun 2, 2021 19:145,103539,135,12215,310,0001,020,0002,273,280
6Jun 2, 2021 19:145,112544,237,61816,357,00002,281,472
7Jun 2, 2021 19:145,115538,430,10415,345,0001,023,0002,273,280
8Jun 2, 2021 19:145,129539,183,21315,388,0001,025,0002,273,280
9Jun 2, 2021 19:145,132541,865,81016,422,00002,273,280
10Jun 2, 2021 19:145,231582,975,76616,737,71602,289,664
11Jun 2, 2021 19:145,241583,732,27316,772,76902,289,664
12Jun 2, 2021 19:145,252591,494,60816,806,91302,293,760