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 16:50Yuriy LyfenkoYuriy LyfenkoScore: 4,469Success
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 16:504,428540,513,69912,144,0002,024,0002,523,136
2Jul 8, 2021 16:504,429543,829,41212,149,0002,024,0002,265,088
3Jul 8, 2021 16:504,434534,633,52213,176,0001,013,0002,265,088
4Jul 8, 2021 16:504,445541,755,20412,192,0002,032,0002,498,560
5Jul 8, 2021 16:504,458536,289,01113,248,0001,019,0002,260,992
6Jul 8, 2021 16:504,468540,819,71514,297,00002,265,088
7Jul 8, 2021 16:504,469532,560,61012,259,0002,043,0002,523,136
8Jul 8, 2021 16:504,473536,959,54713,290,0001,022,0002,523,136
9Jul 8, 2021 16:504,478540,948,63714,331,00002,527,232
10Jul 8, 2021 16:504,600564,140,41114,721,07502,244,608
11Jul 8, 2021 16:504,605580,364,27614,734,53202,240,512
12Jul 8, 2021 16:504,616568,470,33814,770,33602,277,376