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 listAug 26, 2024 13:32vahookvahookScore: 4,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:324,34432,015,58612,908,000992,0002,490,368
2Aug 26, 2024 13:324,35031,838,29412,925,000994,0002,277,376
3Aug 26, 2024 13:324,35332,322,09712,936,000995,0002,273,280
4Aug 26, 2024 13:324,35935,220,07212,952,000996,0002,535,424
5Aug 26, 2024 13:324,36233,436,98411,965,0001,994,0002,490,368
6Aug 26, 2024 13:324,36836,520,65412,980,000998,0002,277,376
7Aug 26, 2024 13:324,37429,667,16911,997,0001,999,0002,535,424
8Aug 26, 2024 13:324,37628,451,68113,004,0001,000,0002,498,560
9Aug 26, 2024 13:324,38531,258,92813,029,0001,002,0002,535,424
10Aug 26, 2024 13:324,62087,311,01314,783,42602,244,608
11Aug 26, 2024 13:324,63878,357,12114,842,56602,367,488
12Aug 26, 2024 13:324,65289,936,40814,887,70902,244,608