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 18:08jeffplaisancejeffplaisanceScore: 4,395Success
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 18:084,37734,497,75513,005,0001,000,0002,277,376
2Aug 3, 2024 18:084,37832,370,43213,008,0001,000,0002,273,280
3Aug 3, 2024 18:084,38639,971,20913,033,0001,002,0002,498,560
4Aug 3, 2024 18:084,38736,636,29613,035,0001,002,0002,277,376
5Aug 3, 2024 18:084,39028,086,07013,046,0001,003,0002,277,376
6Aug 3, 2024 18:084,39232,002,70213,050,0001,003,0002,277,376
7Aug 3, 2024 18:084,39527,126,91013,059,0001,004,0002,502,656
8Aug 3, 2024 18:084,40432,185,18813,088,0001,006,0002,490,368
9Aug 3, 2024 18:084,42933,741,39813,162,0001,012,0002,277,376
10Aug 3, 2024 18:084,655101,990,63714,897,37402,260,992
11Aug 3, 2024 18:084,68576,025,99314,993,30202,240,512
12Aug 3, 2024 18:084,74875,418,77215,192,77802,379,776