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 7, 2024 17:47matsuoka-601matsuoka-601Score: 5,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:475,01037,380,12514,028,0002,004,0002,293,760
2Jun 7, 2024 17:475,01747,002,46615,050,0001,003,0002,277,376
3Jun 7, 2024 17:475,02531,966,96114,070,0002,010,0002,293,760
4Jun 7, 2024 17:475,02837,935,56814,078,0002,011,0002,531,328
5Jun 7, 2024 17:475,03238,816,38015,095,0001,006,0002,293,760
6Jun 7, 2024 17:475,03337,818,43315,101,0001,006,0002,293,760
7Jun 7, 2024 17:475,04240,365,16914,118,0002,016,0002,277,376
8Jun 7, 2024 17:475,04841,265,89014,133,0002,019,0002,293,760
9Jun 7, 2024 17:475,05934,728,33714,167,0002,023,0002,293,760
10Jun 7, 2024 17:475,18980,025,35816,606,12202,179,072
11Jun 7, 2024 17:475,23599,724,10616,751,53802,179,072
12Jun 7, 2024 17:475,25982,467,24516,827,22902,301,952