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:51Yuriy LyfenkoYuriy LyfenkoScore: 4,501Success
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:514,447535,883,36213,215,0001,016,0002,523,136
2Sep 7, 2022 04:514,456542,837,01013,240,0001,018,0002,260,992
3Sep 7, 2022 04:514,463537,593,64613,260,0001,020,0002,265,088
4Sep 7, 2022 04:514,463545,154,68713,262,0001,020,0002,527,232
5Sep 7, 2022 04:514,476539,080,45413,301,0001,023,0002,260,992
6Sep 7, 2022 04:514,488538,734,03214,362,00002,523,136
7Sep 7, 2022 04:514,501536,166,65714,403,00002,527,232
8Sep 7, 2022 04:514,511536,623,64613,405,0001,031,0002,260,992
9Sep 7, 2022 04:514,632540,972,81412,845,0001,976,0002,265,088
10Sep 7, 2022 04:514,652571,974,46714,886,79402,244,608
11Sep 7, 2022 04:514,655564,140,10814,897,39902,273,280
12Sep 7, 2022 04:514,669578,455,47914,941,14502,244,608