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 3, 2024 20:13jeffplaisancejeffplaisanceScore: 4,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 20:134,37532,242,87613,000,0001,000,0002,277,376
2Aug 3, 2024 20:134,37733,398,83613,006,0001,000,0002,494,464
3Aug 3, 2024 20:134,37833,897,92513,010,0001,000,0002,502,656
4Aug 3, 2024 20:134,38928,959,37113,041,0001,003,0002,277,376
5Aug 3, 2024 20:134,39134,912,90313,048,0001,003,0002,498,560
6Aug 3, 2024 20:134,39134,815,91113,049,0001,003,0002,498,560
7Aug 3, 2024 20:134,39332,367,72813,054,0001,004,0002,502,656
8Aug 3, 2024 20:134,39829,532,84613,068,0001,005,0002,502,656
9Aug 3, 2024 20:134,42030,259,20812,124,0002,020,0002,277,376
10Aug 3, 2024 20:134,67187,034,27514,947,12602,367,488
11Aug 3, 2024 20:134,67781,853,46014,967,30102,375,680
12Aug 3, 2024 20:134,71287,914,52515,077,03102,236,416