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 21:19Yuriy LyfenkoYuriy LyfenkoScore: 5,263Success
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 21:195,2181,152,133,14515,716,000982,0002,392,064
2May 17, 2021 21:195,232159,395,15015,757,000984,0002,523,136
3May 17, 2021 21:195,233346,219,85516,747,00002,392,064
4May 17, 2021 21:195,241527,469,71516,770,00002,519,040
5May 17, 2021 21:195,2472,685,694,90615,803,000987,0002,523,136
6May 17, 2021 21:195,2471,198,024,91211,853,0004,938,0002,523,136
7May 17, 2021 21:195,2632,962,338,25415,789,0001,052,0002,260,992
8May 17, 2021 21:195,2872,564,698,54614,929,0001,990,0002,527,232
9May 17, 2021 21:195,301889,523,25915,966,000997,0002,387,968
10May 17, 2021 21:195,409785,286,13217,308,73302,281,472
11May 17, 2021 21:195,425282,094,12517,358,65802,285,568
12May 17, 2021 21:195,4541,067,885,57217,453,14802,281,472