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 7, 2024 02:12zielajzielajScore: 4,561Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:124,54133,608,33713,494,0001,038,0002,285,568
2Aug 7, 2024 02:124,55237,072,96113,525,0001,040,0002,273,280
3Aug 7, 2024 02:124,55232,832,32013,526,0001,040,0002,273,280
4Aug 7, 2024 02:124,55334,030,56314,568,00002,277,376
5Aug 7, 2024 02:124,55334,810,12813,530,0001,040,0002,289,664
6Aug 7, 2024 02:124,55831,882,52713,544,0001,041,0002,523,136
7Aug 7, 2024 02:124,56141,500,13113,552,0001,042,0002,265,088
8Aug 7, 2024 02:124,56730,248,37913,571,0001,043,0002,289,664
9Aug 7, 2024 02:124,59331,713,11014,697,00002,277,376
10Aug 7, 2024 02:124,806115,661,13115,377,74102,179,072
11Aug 7, 2024 02:124,82379,517,17315,432,22202,297,856
12Aug 7, 2024 02:124,83091,270,67315,456,69502,306,048