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 18, 2021 14:15Yuriy LyfenkoYuriy LyfenkoScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:155,2372,061,963,44714,787,0001,971,0002,523,136
2May 18, 2021 14:155,2381,816,825,61516,763,00002,519,040
3May 18, 2021 14:155,249610,494,72214,821,0001,976,0002,265,088
4May 18, 2021 14:155,255854,089,16716,815,00002,519,040
5May 18, 2021 14:155,2702,019,098,43713,889,0002,976,0002,387,968
6May 18, 2021 14:155,272654,983,01714,886,0001,984,0002,519,040
7May 18, 2021 14:155,27862,330,39815,897,000993,0002,396,160
8May 18, 2021 14:155,303910,587,74414,143,0002,828,0002,265,088
9May 18, 2021 14:155,304679,473,84513,978,0002,995,0002,387,968
10May 18, 2021 14:155,4621,701,469,32917,479,30602,281,472
11May 18, 2021 14:155,476923,726,45717,524,72102,277,376
12May 18, 2021 14:155,4851,257,786,31717,550,55202,281,472