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:25Yuriy LyfenkoYuriy LyfenkoScore: 5,038Success
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:254,984338,878,13113,957,0001,993,0002,400,256
2Jun 3, 2021 16:254,997341,899,68313,991,0001,998,0002,281,472
3Jun 3, 2021 16:255,009340,776,85015,029,0001,001,0002,273,280
4Jun 3, 2021 16:255,018338,181,07314,050,0002,007,0002,281,472
5Jun 3, 2021 16:255,022337,786,41215,065,0001,004,0002,273,280
6Jun 3, 2021 16:255,031342,910,24115,094,0001,006,0002,273,280
7Jun 3, 2021 16:255,038350,202,46015,116,0001,007,0002,281,472
8Jun 3, 2021 16:255,041348,368,01615,122,0001,008,0002,273,280
9Jun 3, 2021 16:255,062343,140,92114,174,0002,024,0002,281,472
10Jun 3, 2021 16:255,152371,345,33016,486,33402,293,760
11Jun 3, 2021 16:255,155374,283,58216,496,85602,285,568
12Jun 3, 2021 16:255,181376,517,55816,578,96902,293,760