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 9, 2024 19:16джулисджулисScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:165,28747,335,06115,861,0001,057,0002,293,760
2Jun 9, 2024 19:165,29935,037,68115,959,000997,0002,293,760
3Jun 9, 2024 19:165,30242,616,08215,968,000998,0002,293,760
4Jun 9, 2024 19:165,30347,444,83214,972,0001,996,0002,371,584
5Jun 9, 2024 19:165,31145,553,37714,997,0001,999,0002,371,584
6Jun 9, 2024 19:165,31346,903,41116,000,0001,000,0002,293,760
7Jun 9, 2024 19:165,31645,197,95616,011,0001,000,0002,293,760
8Jun 9, 2024 19:165,32150,399,63116,026,0001,001,0002,371,584
9Jun 9, 2024 19:165,32841,496,03215,043,0002,005,0002,367,488
10Jun 9, 2024 19:165,54696,390,00817,748,63002,260,992
11Jun 9, 2024 19:165,70692,505,37018,258,14702,248,704
12Jun 9, 2024 19:165,75264,864,15818,405,78502,256,896