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 23, 2021 16:59Yuriy LyfenkoYuriy LyfenkoScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 16:595,22943,628,32915,689,0001,045,0002,400,256
2May 23, 2021 16:595,26043,453,32714,852,0001,980,0002,265,088
3May 23, 2021 16:595,27246,379,58815,877,000992,0002,400,256
4May 23, 2021 16:595,27641,885,70414,897,0001,986,0002,383,872
5May 23, 2021 16:595,27631,987,00715,891,000993,0002,260,992
6May 23, 2021 16:595,27743,654,21014,899,0001,986,0002,383,872
7May 23, 2021 16:595,27731,764,15516,887,00002,396,160
8May 23, 2021 16:595,28440,210,64414,920,0001,989,0002,383,872
9May 23, 2021 16:595,31645,047,57715,010,0002,001,0002,392,064
10May 23, 2021 16:595,54483,582,29617,739,48602,285,568
11May 23, 2021 16:595,60979,912,15917,949,30102,281,472
12May 23, 2021 16:595,61062,640,85217,952,57402,273,280