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:10RichardRichardScore: 10,322Success
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:1010,27861,603,9293,986,00028,902,0002,285,568
2Dec 16, 2024 21:1010,28059,251,9715,981,00026,915,0002,510,848
3Dec 16, 2024 21:1010,28758,861,0595,985,00026,934,0002,285,568
4Dec 16, 2024 21:1010,30062,089,2745,992,00026,967,0002,285,568
5Dec 16, 2024 21:1010,32264,630,5208,007,00025,024,0002,285,568
6Dec 16, 2024 21:1010,34462,340,5445,015,00028,087,0002,510,848
7Dec 16, 2024 21:1010,35854,510,9546,026,00027,118,0002,506,752
8Dec 16, 2024 21:1010,41355,992,3408,078,00025,245,0002,277,376
9Dec 16, 2024 21:1010,42359,438,2816,064,00027,288,0002,285,568