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 13:52Yuriy LyfenkoYuriy LyfenkoScore: 5,607Success
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 13:525,5694,389,967,82315,840,0001,980,0002,265,088
2May 17, 2021 13:525,5713,383,548,28714,856,0002,971,0002,527,232
3May 17, 2021 13:525,5742,749,332,47015,856,0001,982,0002,269,184
4May 17, 2021 13:525,5843,660,328,46315,884,0001,985,0002,265,088
5May 17, 2021 13:525,5851,610,874,89216,879,000992,0002,523,136
6May 17, 2021 13:525,593528,136,41116,905,000994,0002,269,184
7May 17, 2021 13:525,6074,887,572,17816,946,000996,0002,265,088
8May 17, 2021 13:525,6143,368,518,50817,965,00002,527,232
9May 17, 2021 13:525,6261,624,110,38816,107,0001,895,0002,396,160
10May 17, 2021 13:525,7321,411,025,31318,343,19002,273,280
11May 17, 2021 13:525,7621,160,688,82818,437,73302,277,376
12May 17, 2021 13:525,797823,001,32618,549,84502,277,376