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 8, 2024 19:31AndreyTSAndreyTSScore: 5,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:315,26637,270,17314,870,0001,982,0002,289,664
2Jun 8, 2024 19:315,26934,479,25514,878,0001,983,0002,289,664
3Jun 8, 2024 19:315,26946,108,78514,879,0001,983,0002,273,280
4Jun 8, 2024 19:315,27636,191,13715,891,000993,0002,289,664
5Jun 8, 2024 19:315,27736,709,14514,899,0001,986,0002,289,664
6Jun 8, 2024 19:315,28036,141,91815,902,000993,0002,277,376
7Jun 8, 2024 19:315,28635,464,09615,920,000995,0002,289,664
8Jun 8, 2024 19:315,28841,982,51514,932,0001,990,0002,289,664
9Jun 8, 2024 19:315,29635,078,22714,954,0001,993,0002,527,232
10Jun 8, 2024 19:315,48596,048,71817,552,50002,301,952
11Jun 8, 2024 19:315,516102,302,09717,651,89602,297,856
12Jun 8, 2024 19:315,54287,736,07517,734,43302,301,952