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 listNov 6, 2024 07:13Andrey TsvetkovAndrey TsvetkovScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 07:135,52650,071,87817,683,00002,338,816
2Nov 6, 2024 07:135,54341,612,30217,736,00002,338,816
3Nov 6, 2024 07:135,54835,057,79316,711,0001,044,0002,326,528
4Nov 6, 2024 07:135,57542,732,14415,857,0001,982,0002,338,816
5Nov 6, 2024 07:135,58238,053,06915,877,0001,984,0002,318,336
6Nov 6, 2024 07:135,58638,656,26217,876,00002,347,008
7Nov 6, 2024 07:135,58934,515,51717,885,00002,338,816
8Nov 6, 2024 07:135,59243,233,01716,900,000994,0002,433,024
9Nov 6, 2024 07:135,60046,062,43215,929,0001,991,0002,338,816