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 16, 2024 21:22RichardRichardScore: 10,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 21:2210,27063,177,2978,963,00023,902,0002,285,568
2Dec 16, 2024 21:2210,29558,127,3174,991,00027,954,0002,285,568
3Dec 16, 2024 21:2210,30061,583,0876,991,00025,968,0002,277,376
4Dec 16, 2024 21:2210,33963,188,8079,023,00024,062,0002,502,656
5Dec 16, 2024 21:2210,34156,976,6973,008,00030,082,0002,347,008
6Dec 16, 2024 21:2210,35456,773,0938,032,00025,102,0002,285,568
7Dec 16, 2024 21:2210,37958,342,9475,032,00028,182,0002,510,848
8Dec 16, 2024 21:2210,41256,671,0166,058,00027,261,0002,506,752
9Dec 16, 2024 21:2210,48456,412,9385,083,00028,466,0002,285,568