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:05Andrey TsvetkovAndrey TsvetkovScore: 5,738Success
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:055,69844,357,26316,090,0002,145,0002,334,720
2Jun 20, 2021 19:055,72049,934,51917,228,0001,076,0002,523,136
3Jun 20, 2021 19:055,72535,308,93715,266,0003,053,0002,519,040
4Jun 20, 2021 19:055,72948,359,58817,254,0001,078,0002,330,624
5Jun 20, 2021 19:055,73046,106,04315,101,0003,235,0002,523,136
6Jun 20, 2021 19:055,73043,938,98615,280,0003,056,0002,334,720
7Jun 20, 2021 19:055,73841,424,21115,300,0003,060,0002,334,720
8Jun 20, 2021 19:055,74139,357,02216,330,0002,041,0002,334,720
9Jun 20, 2021 19:055,75339,950,81816,364,0002,045,0002,519,040
10Jun 20, 2021 19:055,875110,456,86418,800,19902,236,416
11Jun 20, 2021 19:055,88794,077,76818,838,07202,232,320
12Jun 20, 2021 19:055,89987,916,76418,876,17902,228,224