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:42Ulyanov AlekseyUlyanov AlekseyScore: 5,921Success
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:425,88344,267,09215,854,0002,972,0002,273,280
2Jun 17, 2023 22:425,88643,294,48914,870,0003,965,0002,277,376
3Jun 17, 2023 22:425,90348,455,51015,907,0002,982,0002,277,376
4Jun 17, 2023 22:425,90442,586,47216,904,0001,988,0002,277,376
5Jun 17, 2023 22:425,91046,987,33116,922,0001,990,0002,277,376
6Jun 17, 2023 22:425,92040,460,72916,949,0001,994,0002,277,376
7Jun 17, 2023 22:425,92147,004,81216,952,0001,994,0002,277,376
8Jun 17, 2023 22:425,93940,972,46717,006,0002,000,0002,277,376
9Jun 17, 2023 22:425,95440,354,75617,047,0002,005,0002,277,376
10Jun 17, 2023 22:426,12786,147,94019,606,67602,297,856
11Jun 17, 2023 22:426,16079,779,61419,712,75902,301,952
12Jun 17, 2023 22:426,319105,024,36920,220,57402,297,856