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:08Andrey TsvetkovAndrey TsvetkovScore: 5,744Success
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:085,69441,634,82416,198,0002,024,0002,334,720
2Jun 20, 2021 19:085,69541,556,64717,153,0001,072,0002,334,720
3Jun 20, 2021 19:085,71340,983,60816,251,0002,031,0002,527,232
4Jun 20, 2021 19:085,71638,521,65717,275,0001,016,0002,334,720
5Jun 20, 2021 19:085,72847,994,20117,310,0001,018,0002,334,720
6Jun 20, 2021 19:085,73147,344,67715,283,0003,056,0002,334,720
7Jun 20, 2021 19:085,74461,685,39418,381,78802,232,320
8Jun 20, 2021 19:085,75239,169,91217,384,0001,022,0002,514,944
9Jun 20, 2021 19:085,75944,163,57618,429,00002,334,720
10Jun 20, 2021 19:085,79650,447,77717,518,0001,030,0002,519,040
11Jun 20, 2021 19:085,90481,165,48718,891,64302,224,128
12Jun 20, 2021 19:085,91283,070,40718,918,64402,232,320