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 30, 2023 22:30goon-goon-Score: 5,576Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 22:305,52050,029,13516,625,0001,039,0002,383,872
2Oct 30, 2023 22:305,53134,772,96216,659,0001,041,0002,265,088
3Oct 30, 2023 22:305,53342,421,64816,664,0001,041,0002,265,088
4Oct 30, 2023 22:305,53745,233,74517,719,00002,400,256
5Oct 30, 2023 22:305,53844,078,52816,679,0001,042,0002,265,088
6Oct 30, 2023 22:305,57344,268,08717,834,00002,396,160
7Oct 30, 2023 22:305,57643,656,76415,861,0001,982,0002,482,176
8Oct 30, 2023 22:305,58843,756,79116,887,000993,0002,383,872
9Oct 30, 2023 22:305,58933,686,32115,898,0001,987,0002,265,088
10Oct 30, 2023 22:305,72285,536,26218,309,87702,244,608
11Oct 30, 2023 22:305,74382,963,36718,378,13402,285,568
12Oct 30, 2023 22:305,75371,812,49318,408,72702,281,472