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 listDec 18, 2023 19:15IhebIhebScore: 5,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2023 19:155,84046,123,33117,649,0001,038,0002,273,280
2Dec 18, 2023 19:155,84944,504,30117,678,0001,039,0002,281,472
3Dec 18, 2023 19:155,85348,818,29316,650,0002,081,0002,289,664
4Dec 18, 2023 19:155,88547,619,72816,849,0001,982,0002,277,376
5Dec 18, 2023 19:155,89242,002,96616,870,0001,984,0002,273,280
6Dec 18, 2023 19:155,89250,903,29616,870,0001,984,0002,277,376
7Dec 18, 2023 19:155,89647,823,12716,882,0001,986,0002,277,376
8Dec 18, 2023 19:155,89744,365,22315,891,0002,979,0002,277,376
9Dec 18, 2023 19:155,89844,743,65615,895,0002,980,0002,531,328
10Dec 18, 2023 19:156,06379,853,25619,400,02102,293,760
11Dec 18, 2023 19:156,080102,679,75619,455,77602,297,856
12Dec 18, 2023 19:156,09694,221,56619,507,69902,174,976