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 1, 2021 20:04Yuriy LyfenkoYuriy LyfenkoScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 20:045,27345,527,33014,889,0001,985,0002,527,232
2Jul 1, 2021 20:045,29036,362,63314,936,0001,991,0002,265,088
3Jul 1, 2021 20:045,29843,825,51814,958,0001,994,0002,510,848
4Jul 1, 2021 20:045,30541,297,24515,978,000998,0002,396,160
5Jul 1, 2021 20:045,31442,353,16915,004,0002,000,0002,392,064
6Jul 1, 2021 20:045,31647,667,36116,010,0001,000,0002,387,968
7Jul 1, 2021 20:045,31733,555,26816,013,0001,000,0002,265,088
8Jul 1, 2021 20:045,33141,380,65915,053,0002,007,0002,265,088
9Jul 1, 2021 20:045,33633,388,37716,071,0001,004,0002,265,088
10Jul 1, 2021 20:045,48498,223,31217,549,31902,281,472
11Jul 1, 2021 20:045,49781,601,04917,591,10202,285,568
12Jul 1, 2021 20:045,51579,341,82117,647,49002,277,376