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 12, 2024 23:37джулисджулисScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:375,29333,667,27515,940,000996,0002,379,776
2Jun 12, 2024 23:375,30234,811,31215,969,000998,0002,371,584
3Jun 12, 2024 23:375,30536,352,04715,979,000998,0002,293,760
4Jun 12, 2024 23:375,30631,972,79014,983,0001,997,0002,293,760
5Jun 12, 2024 23:375,31842,740,08416,016,0001,001,0002,363,392
6Jun 12, 2024 23:375,31845,712,66316,018,0001,001,0002,293,760
7Jun 12, 2024 23:375,31934,693,21216,020,0001,001,0002,375,680
8Jun 12, 2024 23:375,32344,015,71816,031,0001,001,0002,293,760
9Jun 12, 2024 23:375,33143,618,26315,052,0002,006,0002,293,760
10Jun 12, 2024 23:375,537102,167,33517,718,73802,260,992
11Jun 12, 2024 23:375,56564,807,02817,807,32402,244,608
12Jun 12, 2024 23:375,66482,598,79518,124,94902,260,992