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 25, 2021 04:03Yuriy LyfenkoYuriy LyfenkoScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 04:035,07550,174,60614,211,0002,030,0002,265,088
2May 25, 2021 04:035,08631,454,44914,240,0002,034,0002,392,064
3May 25, 2021 04:035,08637,212,05815,258,0001,017,0002,510,848
4May 25, 2021 04:035,08744,783,31315,261,0001,017,0002,265,088
5May 25, 2021 04:035,08835,917,38115,266,0001,017,0002,265,088
6May 25, 2021 04:035,10737,606,75915,322,0001,021,0002,396,160
7May 25, 2021 04:035,12448,900,93015,374,0001,024,0002,265,088
8May 25, 2021 04:035,12633,616,08416,403,00002,265,088
9May 25, 2021 04:035,12633,639,54016,404,00002,265,088
10May 25, 2021 04:035,26844,065,28216,856,23802,244,608
11May 25, 2021 04:035,27767,808,06216,887,62602,273,280
12May 25, 2021 04:035,31759,729,74917,013,72502,281,472