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 02:25jeffplaisancejeffplaisanceScore: 4,484Success
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 02:254,44530,364,44212,192,0002,032,0002,281,472
2Aug 3, 2024 02:254,46329,676,37813,261,0001,020,0002,396,160
3Aug 3, 2024 02:254,46328,860,29013,262,0001,020,0002,281,472
4Aug 3, 2024 02:254,47842,231,04413,307,0001,023,0002,281,472
5Aug 3, 2024 02:254,47929,922,81913,311,0001,023,0002,281,472
6Aug 3, 2024 02:254,48032,318,92014,336,00002,404,352
7Aug 3, 2024 02:254,48440,598,15414,348,00002,404,352
8Aug 3, 2024 02:254,48730,385,93114,357,00002,396,160
9Aug 3, 2024 02:254,48933,988,51013,338,0001,026,0002,396,160
10Aug 3, 2024 02:254,71886,257,78615,096,90002,293,760
11Aug 3, 2024 02:254,73288,474,71215,143,13702,293,760
12Aug 3, 2024 02:254,74154,011,83415,171,68602,301,952