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:22vahookvahookScore: 4,355Success
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:224,34029,853,39912,897,000992,0002,490,368
2Aug 26, 2024 13:224,34332,082,62912,904,000992,0002,277,376
3Aug 26, 2024 13:224,34529,801,69212,910,000993,0002,277,376
4Aug 26, 2024 13:224,34528,599,61713,905,00002,277,376
5Aug 26, 2024 13:224,34727,263,26812,917,000993,0002,277,376
6Aug 26, 2024 13:224,34930,019,30012,923,000994,0002,506,752
7Aug 26, 2024 13:224,35528,527,18413,935,00002,498,560
8Aug 26, 2024 13:224,35630,603,93911,948,0001,991,0002,494,464
9Aug 26, 2024 13:224,37035,833,54812,985,000998,0002,277,376
10Aug 26, 2024 13:224,60074,297,72514,718,66002,244,608
11Aug 26, 2024 13:224,62166,940,37314,787,56202,236,416
12Aug 26, 2024 13:224,62487,662,41614,796,79502,371,584