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 listJul 8, 2021 00:10Yuriy LyfenkoYuriy LyfenkoScore: 5,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 00:105,147540,659,36316,471,00002,260,992
2Jul 8, 2021 00:105,150542,550,99916,481,00002,523,136
3Jul 8, 2021 00:105,153538,946,30315,458,0001,030,0002,260,992
4Jul 8, 2021 00:105,170542,692,26815,511,0001,034,0002,269,184
5Jul 8, 2021 00:105,178544,077,17616,569,00002,523,136
6Jul 8, 2021 00:105,179542,943,50316,572,00002,523,136
7Jul 8, 2021 00:105,202546,121,25816,646,00002,265,088
8Jul 8, 2021 00:105,243545,962,16814,803,0001,973,0002,260,992
9Jul 8, 2021 00:105,244549,153,56914,807,0001,974,0002,523,136
10Jul 8, 2021 00:105,332582,602,73217,062,66302,244,608
11Jul 8, 2021 00:105,346584,607,27617,106,32202,269,184
12Jul 8, 2021 00:105,373586,653,40117,192,71402,277,376