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 listMay 16, 2021 23:14Yuriy LyfenkoYuriy LyfenkoScore: 5,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 23:145,3633,539,775,06014,134,0003,028,0002,265,088
2May 16, 2021 23:145,3772,373,487,22116,131,0001,075,0002,383,872
3May 16, 2021 23:145,3804,215,194,64317,217,00002,527,232
4May 16, 2021 23:145,3822,332,053,83016,210,0001,013,0002,269,184
5May 16, 2021 23:145,3832,470,053,45816,214,0001,013,0002,527,232
6May 16, 2021 23:145,3851,358,628,60116,220,0001,013,0002,269,184
7May 16, 2021 23:145,388325,694,06817,241,00002,269,184
8May 16, 2021 23:145,3903,034,745,99115,331,0001,916,0002,527,232
9May 16, 2021 23:145,4002,407,268,54416,263,0001,016,0002,260,992
10May 16, 2021 23:145,4043,602,299,90915,259,0002,034,0002,260,992
11May 16, 2021 23:145,4063,960,348,63914,247,0003,053,0002,265,088
12May 16, 2021 23:145,4093,444,091,74714,424,0002,884,0002,265,088
13May 16, 2021 23:145,4103,207,730,17717,311,00002,523,136
14May 16, 2021 23:145,411957,905,12614,430,0002,886,0002,383,872
15May 16, 2021 23:145,4144,186,820,41516,305,0001,019,0002,265,088
16May 16, 2021 23:145,4213,828,652,21715,420,0001,927,0002,265,088
17May 16, 2021 23:145,4211,920,730,33515,420,0001,927,0002,269,184
18May 16, 2021 23:145,4243,854,539,14116,337,0001,021,0002,265,088
19May 16, 2021 23:145,5613,582,800,38317,794,44202,277,376
20May 16, 2021 23:145,5691,704,112,13517,822,09202,281,472
21May 16, 2021 23:145,5751,606,296,92717,839,61002,277,376
22May 16, 2021 23:145,5782,704,611,12217,849,89902,277,376
23May 16, 2021 23:145,5922,243,220,03017,893,02402,277,376
24May 16, 2021 23:145,6134,574,846,51917,963,10502,277,376