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 00:02джулисджулис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 13, 2024 00:025,29843,079,28615,955,000997,0002,371,584
2Jun 13, 2024 00:025,29846,046,22015,956,000997,0002,293,760
3Jun 13, 2024 00:025,30242,764,73815,968,000998,0002,359,296
4Jun 13, 2024 00:025,30349,498,81114,972,0001,996,0002,293,760
5Jun 13, 2024 00:025,31844,043,38715,017,0002,002,0002,469,888
6Jun 13, 2024 00:025,31943,170,75716,021,0001,001,0002,375,680
7Jun 13, 2024 00:025,31947,039,92615,020,0002,002,0002,371,584
8Jun 13, 2024 00:025,32251,168,68115,028,0002,003,0002,293,760
9Jun 13, 2024 00:025,33044,846,34415,049,0002,006,0002,293,760
10Jun 13, 2024 00:025,53265,277,01417,702,85502,244,608
11Jun 13, 2024 00:025,55899,446,60717,786,22202,248,704
12Jun 13, 2024 00:025,56488,256,33017,804,03402,240,512