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 13, 2021 23:30Yuriy LyfenkoYuriy LyfenkoScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:305,31336,886,66516,000,0001,000,0002,383,872
2May 13, 2021 23:305,31748,293,98815,013,0002,001,0002,265,088
3May 13, 2021 23:305,31745,540,35416,014,0001,000,0002,396,160
4May 13, 2021 23:305,32940,208,45716,050,0001,003,0002,387,968
5May 13, 2021 23:305,32938,993,20315,048,0002,006,0002,396,160
6May 13, 2021 23:305,33045,535,17816,053,0001,003,0002,400,256
7May 13, 2021 23:305,33543,129,77515,064,0002,008,0002,265,088
8May 13, 2021 23:305,33742,831,13316,074,0001,004,0002,383,872
9May 13, 2021 23:305,35446,954,63215,117,0002,015,0002,265,088
10May 13, 2021 23:305,66985,513,22418,139,80402,277,376
11May 13, 2021 23:305,67980,150,78518,174,13402,281,472
12May 13, 2021 23:305,71266,779,68018,277,20102,281,472