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 28, 2022 20:36Franek KortaFranek KortaScore: 5,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2022 20:365,07637,535,05014,213,0002,030,0002,281,472
2Aug 28, 2022 20:365,09134,699,15714,255,0002,036,0002,281,472
3Aug 28, 2022 20:365,09430,876,46414,263,0002,037,0002,531,328
4Aug 28, 2022 20:365,10433,688,15013,270,0003,062,0002,514,944
5Aug 28, 2022 20:365,10544,790,60214,295,0002,042,0002,523,136
6Aug 28, 2022 20:365,11237,624,05415,336,0001,022,0002,285,568
7Aug 28, 2022 20:365,12941,855,50114,361,0002,051,0002,514,944
8Aug 28, 2022 20:365,13334,103,73114,373,0002,053,0002,281,472
9Aug 28, 2022 20:365,14738,782,15414,412,0002,058,0002,281,472
10Aug 28, 2022 20:365,32291,090,50217,031,74402,297,856
11Aug 28, 2022 20:365,333103,872,47317,065,02002,301,952
12Aug 28, 2022 20:365,34595,441,52517,105,21102,297,856