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 12, 2024 17:06Andrey LikhachevAndrey LikhachevScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 17:065,33545,224,40916,069,0001,004,0002,289,664
2Jun 12, 2024 17:065,34346,123,75516,093,0001,005,0002,375,680
3Jun 12, 2024 17:065,35545,571,07215,120,0002,016,0002,289,664
4Jun 12, 2024 17:065,35945,107,03115,132,0002,017,0002,289,664
5Jun 12, 2024 17:065,36032,365,49015,134,0002,017,0002,367,488
6Jun 12, 2024 17:065,36338,834,56915,144,0002,019,0002,473,984
7Jun 12, 2024 17:065,36440,961,64315,145,0002,019,0002,289,664
8Jun 12, 2024 17:065,37045,423,78915,162,0002,021,0002,371,584
9Jun 12, 2024 17:065,38845,720,71115,212,0002,028,0002,371,584
10Jun 12, 2024 17:065,58184,039,23417,860,49902,236,416
11Jun 12, 2024 17:065,61781,754,02717,975,17102,244,608
12Jun 12, 2024 17:065,62064,996,57517,982,46902,228,224