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 17, 2023 22:43Ulyanov AlekseyUlyanov AlekseyScore: 5,926Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:435,89746,630,85416,884,0001,986,0002,273,280
2Jun 17, 2023 22:435,89950,340,00917,884,000993,0002,277,376
3Jun 17, 2023 22:435,90242,991,71015,904,0002,982,0002,277,376
4Jun 17, 2023 22:435,90743,393,22815,918,0002,984,0002,277,376
5Jun 17, 2023 22:435,92347,640,87016,960,0001,995,0002,277,376
6Jun 17, 2023 22:435,92344,342,90616,960,0001,995,0002,277,376
7Jun 17, 2023 22:435,92643,286,47416,966,0001,996,0002,277,376
8Jun 17, 2023 22:435,93645,645,74116,996,0001,999,0002,277,376
9Jun 17, 2023 22:435,98536,764,35216,129,0003,024,0002,277,376
10Jun 17, 2023 22:436,12083,125,77619,584,96202,179,072
11Jun 17, 2023 22:436,12687,034,87319,601,69202,183,168
12Jun 17, 2023 22:436,16088,357,22919,710,52102,293,760