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:41Yuriy LyfenkoYuriy LyfenkoScore: 4,447Success
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:414,397544,760,60912,061,0002,010,0002,265,088
2Sep 7, 2022 04:414,411541,134,48912,099,0002,016,0002,260,992
3Sep 7, 2022 04:414,419536,850,00412,120,0002,020,0002,387,968
4Sep 7, 2022 04:414,426539,833,10812,139,0002,023,0002,527,232
5Sep 7, 2022 04:414,438542,331,92012,174,0002,029,0002,260,992
6Sep 7, 2022 04:414,446540,877,12813,211,0001,016,0002,523,136
7Sep 7, 2022 04:414,447543,256,43613,214,0001,016,0002,523,136
8Sep 7, 2022 04:414,452534,275,74614,245,00002,265,088
9Sep 7, 2022 04:414,453542,669,15313,233,0001,017,0002,265,088
10Sep 7, 2022 04:414,589571,274,01014,685,59902,244,608
11Sep 7, 2022 04:414,605569,398,66314,734,93402,277,376
12Sep 7, 2022 04:414,628581,439,37914,810,13302,244,608