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 18:19Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
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 18:195,409399,261,95816,290,0001,018,0002,265,088
2May 16, 2021 18:195,4151,790,091,80816,310,0001,019,0002,260,992
3May 16, 2021 18:195,4221,825,455,99315,422,0001,927,0002,527,232
4May 16, 2021 18:195,4231,064,735,30316,389,000964,0002,523,136
5May 16, 2021 18:195,4241,136,436,11815,316,0002,042,0002,510,848
6May 16, 2021 18:195,4372,978,524,29517,398,00002,387,968
7May 16, 2021 18:195,4431,956,415,64616,395,0001,024,0002,260,992
8May 16, 2021 18:195,4522,289,492,46816,478,000969,0002,260,992
9May 16, 2021 18:195,4702,529,999,99216,532,000972,0002,527,232
10May 16, 2021 18:195,6351,191,564,00818,030,45902,277,376
11May 16, 2021 18:195,6431,531,586,87018,059,16402,277,376
12May 16, 2021 18:195,652727,149,18718,085,69602,277,376