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 3, 2021 16:02Yuriy LyfenkoYuriy LyfenkoScore: 5,026Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:024,989539,892,90414,969,000997,0002,281,472
2Jun 3, 2021 16:025,009542,515,37214,026,0002,003,0002,281,472
3Jun 3, 2021 16:025,014539,202,72115,042,0001,002,0002,273,280
4Jun 3, 2021 16:025,014540,404,36515,042,0001,002,0002,281,472
5Jun 3, 2021 16:025,017538,995,34714,048,0002,006,0002,273,280
6Jun 3, 2021 16:025,026536,176,32415,077,0001,005,0002,273,280
7Jun 3, 2021 16:025,026541,351,40915,079,0001,005,0002,273,280
8Jun 3, 2021 16:025,031541,770,39614,087,0002,012,0002,273,280
9Jun 3, 2021 16:025,031537,703,66714,088,0002,012,0002,281,472
10Jun 3, 2021 16:025,152571,569,10416,487,36602,256,896
11Jun 3, 2021 16:025,153584,281,94016,489,88402,289,664
12Jun 3, 2021 16:025,174573,104,23716,556,41302,293,760