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 00:56Yuriy LyfenkoYuriy LyfenkoScore: 4,390Success
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 00:564,356540,155,86011,947,0001,991,0002,273,280
2Aug 11, 2024 00:564,359533,178,11211,957,0001,992,0002,535,424
3Aug 11, 2024 00:564,367539,709,62211,979,0001,996,0002,273,280
4Aug 11, 2024 00:564,367537,031,91611,979,0001,996,0002,285,568
5Aug 11, 2024 00:564,387543,645,00912,033,0002,005,0002,535,424
6Aug 11, 2024 00:564,389533,351,86513,043,0001,003,0002,535,424
7Aug 11, 2024 00:564,390537,024,09012,041,0002,006,0002,535,424
8Aug 11, 2024 00:564,403535,714,82613,084,0001,006,0002,453,504
9Aug 11, 2024 00:564,424542,145,37613,146,0001,011,0002,273,280
10Aug 11, 2024 00:564,581582,632,89414,660,65202,322,432
11Aug 11, 2024 00:564,584585,233,54914,670,23802,318,336
12Aug 11, 2024 00:564,601583,686,61714,722,90102,326,528