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 28, 2021 07:27Yuriy LyfenkoYuriy LyfenkoScore: 5,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 07:275,01937,011,28814,055,0002,007,0002,265,088
2May 28, 2021 07:275,03445,882,11714,096,0002,013,0002,527,232
3May 28, 2021 07:275,03442,237,13214,097,0002,013,0002,510,848
4May 28, 2021 07:275,03646,289,70614,102,0002,014,0002,400,256
5May 28, 2021 07:275,04045,496,41015,120,0001,008,0002,400,256
6May 28, 2021 07:275,04347,651,83914,120,0002,017,0002,265,088
7May 28, 2021 07:275,04443,047,07514,124,0002,017,0002,265,088
8May 28, 2021 07:275,04844,924,00714,136,0002,019,0002,269,184
9May 28, 2021 07:275,07145,990,57914,199,0002,028,0002,265,088
10May 28, 2021 07:275,24851,926,83516,793,10402,281,472
11May 28, 2021 07:275,28685,694,96916,915,49602,277,376
12May 28, 2021 07:275,29767,469,78516,950,48102,273,280