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 19, 2023 21:28Ulyanov AlekseyUlyanov AlekseyScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:285,89743,471,70616,883,0001,986,0002,277,376
2Jun 19, 2023 21:285,89844,889,20516,887,0001,986,0002,289,664
3Jun 19, 2023 21:285,89947,155,51516,891,0001,987,0002,519,040
4Jun 19, 2023 21:285,90344,990,10016,900,0001,988,0002,273,280
5Jun 19, 2023 21:285,90437,871,44716,904,0001,988,0002,289,664
6Jun 19, 2023 21:285,90643,446,90016,909,0001,989,0002,289,664
7Jun 19, 2023 21:285,92043,804,86116,950,0001,994,0002,289,664
8Jun 19, 2023 21:285,92548,151,23916,965,0001,995,0002,289,664
9Jun 19, 2023 21:285,94455,489,79117,020,0002,002,0002,289,664
10Jun 19, 2023 21:285,96997,542,45319,099,97202,297,856
11Jun 19, 2023 21:286,07287,942,08419,429,42202,297,856
12Jun 19, 2023 21:286,09794,014,79219,508,88202,293,760