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 17, 2021 15:12Yuriy LyfenkoYuriy LyfenkoScore: 5,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:125,3484,105,871,68015,214,0001,901,0002,523,136
2May 17, 2021 15:125,351159,999,25015,220,0001,902,0002,392,064
3May 17, 2021 15:125,3624,733,045,86515,252,0001,906,0002,527,232
4May 17, 2021 15:125,3701,073,987,43117,183,00002,523,136
5May 17, 2021 15:125,3701,448,198,80616,173,0001,010,0002,265,088
6May 17, 2021 15:125,3704,553,694,20816,175,0001,010,0002,527,232
7May 17, 2021 15:125,3733,728,896,54014,328,0002,865,0002,260,992
8May 17, 2021 15:125,3824,905,918,03416,208,0001,013,0002,265,088
9May 17, 2021 15:125,4043,962,927,18615,259,0002,034,0002,265,088
10May 17, 2021 15:125,5403,013,246,03117,729,27902,277,376
11May 17, 2021 15:125,577246,373,26717,846,67402,277,376
12May 17, 2021 15:125,5922,241,900,18317,893,46002,273,280