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 13, 2024 03:16джулисджулисScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 03:165,23545,940,01216,751,00002,293,760
2Jun 13, 2024 03:165,26446,146,70315,854,000990,0002,293,760
3Jun 13, 2024 03:165,26732,265,26415,863,000991,0002,367,488
4Jun 13, 2024 03:165,26844,395,06115,866,000991,0002,293,760
5Jun 13, 2024 03:165,27442,793,63114,892,0001,985,0002,293,760
6Jun 13, 2024 03:165,27536,554,91815,887,000992,0002,293,760
7Jun 13, 2024 03:165,27649,330,43216,883,00002,293,760
8Jun 13, 2024 03:165,27936,716,03614,906,0001,987,0002,367,488
9Jun 13, 2024 03:165,29035,928,43214,937,0001,991,0002,293,760
10Jun 13, 2024 03:165,482101,378,07017,542,48702,260,992
11Jun 13, 2024 03:165,48597,134,06417,552,99702,256,896
12Jun 13, 2024 03:165,49198,855,07017,570,88602,248,704