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 21, 2021 11:20Andrey TsvetkovAndrey TsvetkovScore: 5,750Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2021 11:205,69440,875,37816,197,0002,024,0002,523,136
2Jun 21, 2021 11:205,71245,215,59615,231,0003,046,0002,334,720
3Jun 21, 2021 11:205,71337,671,64116,249,0002,031,0002,334,720
4Jun 21, 2021 11:205,71837,663,87615,247,0003,049,0002,330,624
5Jun 21, 2021 11:205,71838,756,55715,249,0003,049,0002,334,720
6Jun 21, 2021 11:205,72542,280,86215,267,0003,053,0002,334,720
7Jun 21, 2021 11:205,73246,007,20016,304,0002,038,0002,531,328
8Jun 21, 2021 11:205,73339,829,82916,309,0002,038,0002,334,720
9Jun 21, 2021 11:205,73548,231,79516,313,0002,039,0002,334,720
10Jun 21, 2021 11:205,74434,705,51316,339,0002,042,0002,527,232
11Jun 21, 2021 11:205,74538,370,47916,343,0002,042,0002,519,040
12Jun 21, 2021 11:205,74943,448,20916,352,0002,044,0002,531,328
13Jun 21, 2021 11:205,75041,060,67716,355,0002,044,0002,523,136
14Jun 21, 2021 11:205,75242,445,66517,385,0001,022,0002,334,720
15Jun 21, 2021 11:205,75933,903,93016,382,0002,047,0002,334,720
16Jun 21, 2021 11:205,76144,691,91816,388,0002,048,0002,527,232
17Jun 21, 2021 11:205,76340,977,61016,392,0002,049,0002,334,720
18Jun 21, 2021 11:205,76443,906,27316,395,0002,049,0002,334,720
19Jun 21, 2021 11:205,79967,380,70018,555,93802,220,032
20Jun 21, 2021 11:205,82480,658,75818,636,47702,224,128
21Jun 21, 2021 11:205,82489,677,85918,636,62802,232,320
22Jun 21, 2021 11:205,85282,786,68318,727,84702,244,608
23Jun 21, 2021 11:205,88393,392,08718,825,62702,236,416
24Jun 21, 2021 11:205,94481,989,92119,021,98902,228,224