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 20, 2021 19:28Andrey TsvetkovAndrey TsvetkovScore: 5,775Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:285,72639,548,76315,269,0003,053,0002,334,720
2Jun 20, 2021 19:285,73434,662,63915,291,0003,058,0002,334,720
3Jun 20, 2021 19:285,73543,906,28216,313,0002,039,0002,527,232
4Jun 20, 2021 19:285,74143,497,30316,331,0002,041,0002,347,008
5Jun 20, 2021 19:285,75639,774,07917,397,0001,023,0002,326,528
6Jun 20, 2021 19:285,75944,438,70016,382,0002,047,0002,326,528
7Jun 20, 2021 19:285,77534,286,29017,453,0001,026,0002,334,720
8Jun 20, 2021 19:285,78446,893,63715,424,0003,084,0002,519,040
9Jun 20, 2021 19:285,79437,057,60718,542,00002,519,040
10Jun 20, 2021 19:285,81968,716,25018,620,20902,236,416
11Jun 20, 2021 19:285,86394,651,89618,762,79302,236,416
12Jun 20, 2021 19:285,969101,496,14519,100,22402,228,224