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:18Yuriy LyfenkoYuriy LyfenkoScore: 5,016Success
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:184,975538,759,48113,930,0001,990,0002,281,472
2Jun 2, 2021 19:184,981536,787,61013,948,0001,992,0002,273,280
3Jun 2, 2021 19:184,982542,996,52913,949,0001,992,0002,273,280
4Jun 2, 2021 19:184,995543,207,79214,985,000999,0002,281,472
5Jun 2, 2021 19:185,007541,333,55515,020,0001,001,0002,273,280
6Jun 2, 2021 19:185,013539,055,32314,038,0002,005,0002,273,280
7Jun 2, 2021 19:185,016538,935,59814,046,0002,006,0002,281,472
8Jun 2, 2021 19:185,023541,516,64015,070,0001,004,0002,273,280
9Jun 2, 2021 19:185,025539,681,73615,075,0001,005,0002,273,280
10Jun 2, 2021 19:185,139571,139,27616,443,42102,297,856
11Jun 2, 2021 19:185,150579,118,25716,480,07902,285,568
12Jun 2, 2021 19:185,174582,292,04516,556,21102,293,760