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 listSep 7, 2022 04:37Yuriy LyfenkoYuriy LyfenkoScore: 4,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:374,374538,684,81211,998,0001,999,0002,527,232
2Sep 7, 2022 04:374,415543,943,14812,110,0002,018,0002,523,136
3Sep 7, 2022 04:374,421539,926,79513,137,0001,010,0002,260,992
4Sep 7, 2022 04:374,424546,335,84312,134,0002,022,0002,265,088
5Sep 7, 2022 04:374,426541,458,47012,140,0002,023,0002,523,136
6Sep 7, 2022 04:374,426543,061,43612,141,0002,023,0002,383,872
7Sep 7, 2022 04:374,428544,904,46313,156,0001,012,0002,523,136
8Sep 7, 2022 04:374,433538,646,51312,158,0002,026,0002,523,136
9Sep 7, 2022 04:374,547541,157,76113,511,0001,039,0002,260,992
10Sep 7, 2022 04:374,599576,380,56414,716,41202,244,608
11Sep 7, 2022 04:374,604574,569,37714,732,86102,269,184
12Sep 7, 2022 04:374,615573,639,77114,767,50702,240,512