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 17, 2023 22:22Ulyanov AlekseyUlyanov AlekseyScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:225,84247,882,06517,657,0001,038,0002,277,376
2Jun 17, 2023 22:225,84749,236,25318,711,00002,277,376
3Jun 17, 2023 22:225,88336,309,03917,837,000990,0002,277,376
4Jun 17, 2023 22:225,89648,051,02317,875,000993,0002,281,472
5Jun 17, 2023 22:225,89944,989,50118,876,00002,269,184
6Jun 17, 2023 22:225,89949,797,48616,890,0001,987,0002,277,376
7Jun 17, 2023 22:225,90145,037,75216,897,0001,987,0002,277,376
8Jun 17, 2023 22:225,91049,753,02216,921,0001,990,0002,273,280
9Jun 17, 2023 22:225,91245,603,74516,926,0001,991,0002,277,376
10Jun 17, 2023 22:226,067101,501,46119,413,07502,297,856
11Jun 17, 2023 22:226,08669,907,38619,476,29802,297,856
12Jun 17, 2023 22:226,10468,552,84219,532,98002,301,952