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:16Andrey TsvetkovAndrey TsvetkovScore: 5,700Success
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:165,67441,805,56915,130,0003,026,0002,334,720
2Jun 20, 2021 19:165,67943,245,99816,154,0002,019,0002,519,040
3Jun 20, 2021 19:165,69141,198,60716,188,0002,023,0002,523,136
4Jun 20, 2021 19:165,69138,290,70816,189,0002,023,0002,523,136
5Jun 20, 2021 19:165,69739,933,91615,191,0003,038,0002,334,720
6Jun 20, 2021 19:165,69942,189,80116,211,0002,026,0002,531,328
7Jun 20, 2021 19:165,70045,714,92715,200,0003,040,0002,531,328
8Jun 20, 2021 19:165,70846,685,05917,251,0001,014,0002,527,232
9Jun 20, 2021 19:165,71939,178,03717,285,0001,016,0002,326,528
10Jun 20, 2021 19:165,74381,199,98718,376,76602,236,416
11Jun 20, 2021 19:165,76791,439,56118,454,79602,228,224
12Jun 20, 2021 19:165,82077,461,60318,624,01602,232,320