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 02:24Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
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 02:244,431541,689,88012,153,0002,025,0002,260,992
2Sep 7, 2022 02:244,442538,336,81113,200,0001,015,0002,523,136
3Sep 7, 2022 02:244,448540,914,31712,202,0002,033,0002,260,992
4Sep 7, 2022 02:244,451534,512,07413,225,0001,017,0002,260,992
5Sep 7, 2022 02:244,454540,040,42814,252,00002,396,160
6Sep 7, 2022 02:244,457538,731,20714,261,00002,523,136
7Sep 7, 2022 02:244,458541,450,94714,265,00002,265,088
8Sep 7, 2022 02:244,461535,462,83414,276,00002,260,992
9Sep 7, 2022 02:244,499536,529,90213,368,0001,028,0002,265,088
10Sep 7, 2022 02:244,602580,578,12714,725,15302,281,472
11Sep 7, 2022 02:244,627567,389,44614,806,50302,273,280
12Sep 7, 2022 02:244,635575,595,24614,831,20902,269,184