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:22Andrey TsvetkovAndrey TsvetkovScore: 5,754Success
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:225,71533,796,11115,240,0003,048,0002,531,328
2Jun 20, 2021 19:225,71739,555,29016,262,0002,032,0002,523,136
3Jun 20, 2021 19:225,72344,156,75515,263,0003,052,0002,519,040
4Jun 20, 2021 19:225,72340,853,78816,280,0002,035,0002,531,328
5Jun 20, 2021 19:225,73050,112,39015,280,0003,056,0002,334,720
6Jun 20, 2021 19:225,73140,960,04115,282,0003,056,0002,326,528
7Jun 20, 2021 19:225,73141,577,59615,284,0003,056,0002,519,040
8Jun 20, 2021 19:225,74240,885,04016,334,0002,041,0002,330,624
9Jun 20, 2021 19:225,74542,784,88516,341,0002,042,0002,330,624
10Jun 20, 2021 19:225,74746,128,74516,348,0002,043,0002,527,232
11Jun 20, 2021 19:225,75043,410,60316,355,0002,044,0002,334,720
12Jun 20, 2021 19:225,75442,565,15916,367,0002,045,0002,334,720
13Jun 20, 2021 19:225,75436,345,18515,344,0003,068,0002,334,720
14Jun 20, 2021 19:225,75939,455,88916,383,0002,047,0002,527,232
15Jun 20, 2021 19:225,76635,953,82216,401,0002,050,0002,334,720
16Jun 20, 2021 19:225,77740,843,46015,405,0003,081,0002,326,528
17Jun 20, 2021 19:225,78238,050,67016,446,0002,055,0002,383,872
18Jun 20, 2021 19:225,79543,330,86716,484,0002,060,0002,527,232
19Jun 20, 2021 19:225,79897,875,79918,552,63402,232,320
20Jun 20, 2021 19:225,84080,751,73718,687,59002,240,512
21Jun 20, 2021 19:225,84192,425,72818,691,96702,232,320
22Jun 20, 2021 19:225,84681,891,84318,706,50502,236,416
23Jun 20, 2021 19:225,86493,284,65118,763,89502,228,224
24Jun 20, 2021 19:225,94686,726,17219,026,73802,236,416