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 24, 2021 05:22Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:225,08838,063,32314,248,0002,035,0002,383,872
2May 24, 2021 05:225,09232,068,04014,257,0002,036,0002,265,088
3May 24, 2021 05:225,09831,127,56115,293,0001,019,0002,400,256
4May 24, 2021 05:225,10433,663,07114,293,0002,041,0002,265,088
5May 24, 2021 05:225,10832,739,21215,323,0001,021,0002,387,968
6May 24, 2021 05:225,11844,596,68716,377,00002,265,088
7May 24, 2021 05:225,12345,870,66116,393,00002,400,256
8May 24, 2021 05:225,13935,780,58216,446,00002,400,256
9May 24, 2021 05:225,14633,990,60316,467,00002,265,088
10May 24, 2021 05:225,28051,457,06416,895,98002,269,184
11May 24, 2021 05:225,31886,228,17617,016,10902,285,568
12May 24, 2021 05:225,36781,467,36417,175,47002,277,376