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 04:27jeffplaisancejeffplaisanceScore: 4,583Success
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 04:274,56030,034,66114,593,00002,281,472
2Aug 3, 2024 04:274,56945,823,01814,622,00002,281,472
3Aug 3, 2024 04:274,57334,198,37114,633,00002,281,472
4Aug 3, 2024 04:274,57843,765,33813,604,0001,046,0002,404,352
5Aug 3, 2024 04:274,58130,421,60813,612,0001,047,0002,281,472
6Aug 3, 2024 04:274,58232,097,91514,661,00002,281,472
7Aug 3, 2024 04:274,58332,013,12613,620,0001,047,0002,404,352
8Aug 3, 2024 04:274,58432,097,65614,670,00002,400,256
9Aug 3, 2024 04:274,59641,084,42014,706,00002,392,064
10Aug 3, 2024 04:274,81476,795,54515,403,28202,293,760
11Aug 3, 2024 04:274,81993,844,75215,419,51802,301,952
12Aug 3, 2024 04:274,83586,677,22015,471,86902,289,664