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 27, 2021 17:03Yuriy LyfenkoYuriy LyfenkoScore: 5,111Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:035,07743,092,36614,215,0002,030,0002,265,088
2May 27, 2021 17:035,07941,085,37714,221,0002,031,0002,265,088
3May 27, 2021 17:035,09341,008,55314,259,0002,037,0002,265,088
4May 27, 2021 17:035,09338,595,29215,279,0001,018,0002,265,088
5May 27, 2021 17:035,10642,211,29115,317,0001,021,0002,387,968
6May 27, 2021 17:035,10834,802,53215,324,0001,021,0002,265,088
7May 27, 2021 17:035,11139,081,17716,355,00002,396,160
8May 27, 2021 17:035,12643,591,39416,403,00002,527,232
9May 27, 2021 17:035,14037,896,00815,420,0001,028,0002,265,088
10May 27, 2021 17:035,33467,844,71617,068,14802,281,472
11May 27, 2021 17:035,38748,635,91317,237,90702,277,376
12May 27, 2021 17:035,69772,761,38218,228,94302,269,184