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 listJun 9, 2024 15:03AnSaAnSaScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:035,58645,548,81715,888,0001,986,0002,281,472
2Jun 9, 2024 15:035,58745,003,18615,892,0001,986,0002,281,472
3Jun 9, 2024 15:035,58835,067,43715,895,0001,986,0002,281,472
4Jun 9, 2024 15:035,59034,857,54015,901,0001,987,0002,273,280
5Jun 9, 2024 15:035,59533,984,45315,915,0001,989,0002,281,472
6Jun 9, 2024 15:035,59834,542,69615,924,0001,990,0002,277,376
7Jun 9, 2024 15:035,60443,758,44215,940,0001,992,0002,531,328
8Jun 9, 2024 15:035,61239,836,72215,962,0001,995,0002,281,472
9Jun 9, 2024 15:035,61749,418,69914,979,0002,995,0002,281,472
10Jun 9, 2024 15:035,86888,111,60418,779,12002,183,168
11Jun 9, 2024 15:035,86965,383,35218,781,43602,179,072
12Jun 9, 2024 15:035,90492,283,33118,893,05802,301,952