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 03:11Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
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 03:114,398539,594,74413,070,0001,005,0002,265,088
2Sep 7, 2022 03:114,404538,999,64513,087,0001,006,0002,260,992
3Sep 7, 2022 03:114,408539,111,05713,098,0001,007,0002,523,136
4Sep 7, 2022 03:114,412544,419,22613,109,0001,008,0002,523,136
5Sep 7, 2022 03:114,416539,246,67212,113,0002,018,0002,523,136
6Sep 7, 2022 03:114,424537,924,95513,145,0001,011,0002,260,992
7Sep 7, 2022 03:114,443545,204,99814,217,00002,387,968
8Sep 7, 2022 03:114,445540,295,69312,192,0002,032,0002,523,136
9Sep 7, 2022 03:114,448539,313,03514,235,00002,523,136
10Sep 7, 2022 03:114,592565,272,32614,692,82402,244,608
11Sep 7, 2022 03:114,608573,784,91914,746,89202,240,512
12Sep 7, 2022 03:114,618581,858,86714,778,37002,277,376