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 15, 2021 23:50Yuriy LyfenkoYuriy LyfenkoScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 23:505,65245,382,97616,076,0002,009,0002,523,136
2May 15, 2021 23:505,66142,476,63117,108,0001,006,0002,523,136
3May 15, 2021 23:505,66148,115,87617,109,0001,006,0002,523,136
4May 15, 2021 23:505,66341,667,66916,108,0002,013,0002,486,272
5May 15, 2021 23:505,66842,707,00415,116,0003,023,0002,523,136
6May 15, 2021 23:505,67846,991,39117,161,0001,009,0002,510,848
7May 15, 2021 23:505,68346,122,35915,156,0003,031,0002,392,064
8May 15, 2021 23:505,69445,167,10315,184,0003,036,0002,260,992
9May 15, 2021 23:505,70539,106,29517,242,0001,014,0002,396,160
10May 15, 2021 23:506,16189,179,58719,714,02502,273,280
11May 15, 2021 23:506,16686,770,99919,730,27802,285,568
12May 15, 2021 23:506,21494,193,48619,885,33802,269,184