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 23:19Yuriy LyfenkoYuriy LyfenkoScore: 5,548Success
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 23:195,4808,736,227,89317,535,00002,387,968
2May 17, 2021 23:195,4898,224,949,30614,053,0003,513,0002,523,136
3May 17, 2021 23:195,4907,187,785,77414,274,0003,294,0002,519,040
4May 17, 2021 23:195,4996,323,499,08416,562,0001,035,0002,523,136
5May 17, 2021 23:195,5306,788,294,88115,041,0002,654,0002,260,992
6May 17, 2021 23:195,5487,900,545,83117,754,00002,260,992
7May 17, 2021 23:195,5488,908,797,57516,711,0001,044,0002,392,064
8May 17, 2021 23:195,5758,532,994,19815,858,0001,982,0002,523,136
9May 17, 2021 23:195,5926,336,505,66814,913,0002,982,0002,523,136
10May 17, 2021 23:195,9418,996,806,44619,012,31902,322,432
11May 17, 2021 23:195,9467,424,740,30919,025,84702,240,512
12May 17, 2021 23:195,9469,007,027,30419,027,75202,306,048