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 listOct 10, 2021 03:03Yuriy LyfenkoYuriy LyfenkoScore: 4,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2021 03:034,623543,824,87512,820,0001,972,0002,297,856
2Oct 10, 2021 03:034,639546,541,52913,857,000989,0002,293,760
3Oct 10, 2021 03:034,646542,280,01612,884,0001,982,0002,285,568
4Oct 10, 2021 03:034,651540,289,98313,890,000992,0002,285,568
5Oct 10, 2021 03:034,657540,011,27512,915,0001,987,0002,277,376
6Oct 10, 2021 03:034,664542,409,85712,936,0001,990,0002,289,664
7Oct 10, 2021 03:034,665536,582,98412,939,0001,990,0002,285,568
8Oct 10, 2021 03:034,724534,693,47613,103,0002,015,0002,285,568
9Oct 10, 2021 03:034,756572,930,46815,217,71002,256,896
10Oct 10, 2021 03:034,756586,601,60515,220,72502,260,992
11Oct 10, 2021 03:034,782592,767,42615,301,58802,256,896
12Oct 10, 2021 03:034,848545,508,17114,478,0001,034,0002,289,664