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 11, 2024 01:46Yuriy LyfenkoYuriy LyfenkoScore: 4,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:464,354535,129,64811,943,0001,990,0002,453,504
2Aug 11, 2024 01:464,359536,406,66811,956,0001,992,0002,531,328
3Aug 11, 2024 01:464,362536,180,87011,964,0001,994,0002,535,424
4Aug 11, 2024 01:464,371535,092,82711,989,0001,998,0002,535,424
5Aug 11, 2024 01:464,378535,861,93712,008,0002,001,0002,273,280
6Aug 11, 2024 01:464,380535,175,67712,015,0002,002,0002,273,280
7Aug 11, 2024 01:464,384544,193,40412,025,0002,004,0002,273,280
8Aug 11, 2024 01:464,389535,928,31512,039,0002,006,0002,535,424
9Aug 11, 2024 01:464,391537,244,14812,045,0002,007,0002,273,280
10Aug 11, 2024 01:464,568581,393,92314,619,08802,207,744
11Aug 11, 2024 01:464,582568,095,80214,662,86502,326,528
12Aug 11, 2024 01:464,585579,390,31314,672,59002,322,432