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 17, 2024 05:44Yuriy LyfenkoYuriy LyfenkoScore: 4,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:444,489536,975,80414,364,00002,527,232
2Aug 17, 2024 05:444,489534,137,02113,340,0001,026,0002,523,136
3Aug 17, 2024 05:444,492537,774,86814,375,00002,527,232
4Aug 17, 2024 05:444,496538,946,36013,361,0001,027,0002,265,088
5Aug 17, 2024 05:444,500539,826,00913,373,0001,028,0002,523,136
6Aug 17, 2024 05:444,504537,303,43713,383,0001,029,0002,523,136
7Aug 17, 2024 05:444,507535,693,74614,423,00002,523,136
8Aug 17, 2024 05:444,509536,510,76114,430,00002,531,328
9Aug 17, 2024 05:444,522535,210,78314,470,00002,523,136
10Aug 17, 2024 05:444,630576,876,11014,817,56102,236,416
11Aug 17, 2024 05:444,631566,639,93814,820,63402,232,320
12Aug 17, 2024 05:444,649574,527,27114,875,34702,236,416