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 listJul 6, 2021 00:13Yuriy LyfenkoYuriy LyfenkoScore: 5,073Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:135,02339,746,40815,069,0001,004,0002,396,160
2Jul 6, 2021 00:135,02433,803,50014,067,0002,009,0002,400,256
3Jul 6, 2021 00:135,02740,568,80915,082,0001,005,0002,392,064
4Jul 6, 2021 00:135,03231,939,57315,096,0001,006,0002,387,968
5Jul 6, 2021 00:135,04732,389,87614,132,0002,018,0002,392,064
6Jul 6, 2021 00:135,05332,577,72714,147,0002,021,0002,400,256
7Jul 6, 2021 00:135,07345,528,61914,206,0002,029,0002,387,968
8Jul 6, 2021 00:135,08445,916,05814,236,0002,033,0002,265,088
9Jul 6, 2021 00:135,09141,052,29015,273,0001,018,0002,265,088
10Jul 6, 2021 00:135,205105,303,36916,657,48202,285,568
11Jul 6, 2021 00:135,22395,281,69616,712,24102,273,280
12Jul 6, 2021 00:135,27488,070,56616,878,02802,269,184