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 21:45Yuriy LyfenkoYuriy LyfenkoScore: 5,035Success
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 21:455,002544,588,45715,005,0001,000,0002,273,280
2Jun 2, 2021 21:455,003542,196,35014,007,0002,001,0002,273,280
3Jun 2, 2021 21:455,011538,915,53315,034,0001,002,0002,273,280
4Jun 2, 2021 21:455,024536,873,06515,074,0001,004,0002,273,280
5Jun 2, 2021 21:455,025539,299,32214,070,0002,010,0002,281,472
6Jun 2, 2021 21:455,028537,548,52115,085,0001,005,0002,273,280
7Jun 2, 2021 21:455,035541,795,68015,106,0001,007,0002,281,472
8Jun 2, 2021 21:455,036541,586,52715,108,0001,007,0002,273,280
9Jun 2, 2021 21:455,058541,130,53614,161,0002,023,0002,273,280
10Jun 2, 2021 21:455,146580,341,79616,466,32002,293,760
11Jun 2, 2021 21:455,158568,089,04916,506,19302,293,760
12Jun 2, 2021 21:455,191582,234,10816,610,98202,293,760