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 listFeb 22, 2024 12:27Huy Duc LeHuy Duc LeScore: 5,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:275,48049,711,99316,506,0001,031,0002,277,376
2Feb 22, 2024 12:275,48738,495,85216,527,0001,032,0002,293,760
3Feb 22, 2024 12:275,48843,930,81915,612,0001,951,0002,293,760
4Feb 22, 2024 12:275,49038,159,56116,534,0001,033,0002,523,136
5Feb 22, 2024 12:275,49137,512,66617,570,00002,527,232
6Feb 22, 2024 12:275,50135,770,94217,604,00002,293,760
7Feb 22, 2024 12:275,52746,789,53415,721,0001,965,0002,273,280
8Feb 22, 2024 12:275,53046,990,79116,656,0001,041,0002,273,280
9Feb 22, 2024 12:275,53349,479,99016,665,0001,041,0002,273,280
10Feb 22, 2024 12:275,72285,623,97118,308,90702,293,760
11Feb 22, 2024 12:275,72973,198,54218,331,95202,297,856
12Feb 22, 2024 12:275,86574,484,94218,769,57202,310,144