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 24, 2021 05:21Yuriy LyfenkoYuriy LyfenkoScore: 5,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:215,08641,589,32314,240,0002,034,0002,396,160
2May 24, 2021 05:215,09333,315,88914,261,0002,037,0002,396,160
3May 24, 2021 05:215,09430,527,44015,284,0001,018,0002,396,160
4May 24, 2021 05:215,10236,134,21215,306,0001,020,0002,265,088
5May 24, 2021 05:215,10644,930,12315,319,0001,021,0002,265,088
6May 24, 2021 05:215,10836,073,53715,323,0001,021,0002,396,160
7May 24, 2021 05:215,13643,118,12215,407,0001,027,0002,265,088
8May 24, 2021 05:215,14439,304,53815,434,0001,028,0002,400,256
9May 24, 2021 05:215,14440,080,82515,434,0001,028,0002,396,160
10May 24, 2021 05:215,26778,982,94116,855,95302,277,376
11May 24, 2021 05:215,30178,378,31816,963,71902,269,184
12May 24, 2021 05:215,35963,910,16517,150,31902,273,280