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:52джулисджулисScore: 5,310Success
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:525,27533,447,08115,887,000992,0002,375,680
2Jun 13, 2024 00:525,29547,845,11915,947,000996,0002,371,584
3Jun 13, 2024 00:525,29646,844,42914,953,0001,993,0002,293,760
4Jun 13, 2024 00:525,30441,675,16015,976,000998,0002,371,584
5Jun 13, 2024 00:525,30842,333,90314,987,0001,998,0002,363,392
6Jun 13, 2024 00:525,31040,296,30214,993,0001,999,0002,469,888
7Jun 13, 2024 00:525,31045,071,03315,994,000999,0002,293,760
8Jun 13, 2024 00:525,32244,628,41615,028,0002,003,0002,379,776
9Jun 13, 2024 00:525,32646,695,01915,039,0002,005,0002,293,760
10Jun 13, 2024 00:525,53969,586,66617,724,41602,240,512
11Jun 13, 2024 00:525,57385,700,96217,834,87202,236,416
12Jun 13, 2024 00:525,62697,270,04718,003,42802,240,512