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:41Yuriy LyfenkoYuriy LyfenkoScore: 5,461Success
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:415,4071,650,962,75216,342,000961,0002,523,136
2May 17, 2021 23:415,420334,369,94015,418,0001,927,0002,265,088
3May 17, 2021 23:415,4322,260,573,10815,450,0001,931,0002,269,184
4May 17, 2021 23:415,4351,685,745,54215,459,0001,932,0002,265,088
5May 17, 2021 23:415,437874,460,33917,397,00002,265,088
6May 17, 2021 23:415,451373,907,87715,504,0001,938,0002,527,232
7May 17, 2021 23:415,4612,586,894,10216,504,000970,0002,519,040
8May 17, 2021 23:415,4681,794,877,61617,498,00002,527,232
9May 17, 2021 23:415,4981,428,807,21416,616,000977,0002,519,040
10May 17, 2021 23:415,6062,820,137,27717,939,36902,285,568
11May 17, 2021 23:415,6091,893,262,17517,947,33702,277,376
12May 17, 2021 23:415,6351,266,960,26118,032,17302,285,568