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 6, 2021 00:44Yuriy LyfenkoYuriy LyfenkoScore: 5,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:445,2381,042,473,46016,763,00002,260,992
2Jul 6, 2021 00:445,2391,042,956,49214,792,0001,972,0002,265,088
3Jul 6, 2021 00:445,2391,042,900,72916,764,00002,527,232
4Jul 6, 2021 00:445,2431,040,660,58914,804,0001,973,0002,260,992
5Jul 6, 2021 00:445,2431,045,741,85614,804,0001,973,0002,387,968
6Jul 6, 2021 00:445,2541,048,390,44715,824,000989,0002,523,136
7Jul 6, 2021 00:445,2851,040,857,29714,922,0001,989,0002,523,136
8Jul 6, 2021 00:445,2871,044,516,69615,922,000995,0002,265,088
9Jul 6, 2021 00:445,2891,048,087,61115,930,000995,0002,523,136
10Jul 6, 2021 00:445,3931,074,798,71317,256,05902,244,608
11Jul 6, 2021 00:445,4081,071,162,18017,305,55702,273,280
12Jul 6, 2021 00:445,4251,070,730,44817,358,53902,240,512