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 listJul 16, 2023 15:09Alexander MonakovAlexander MonakovScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2023 15:094,59046,146,45414,687,00002,494,464
2Jul 16, 2023 15:094,59133,097,47014,692,00002,498,560
3Jul 16, 2023 15:094,59435,567,96513,652,0001,050,0002,273,280
4Jul 16, 2023 15:094,59840,629,01014,713,00002,498,560
5Jul 16, 2023 15:094,64944,419,21113,885,000991,0002,498,560
6Jul 16, 2023 15:094,65028,612,91113,888,000992,0002,498,560
7Jul 16, 2023 15:094,65029,753,18814,880,00002,494,464
8Jul 16, 2023 15:094,65133,614,25513,890,000992,0002,490,368
9Jul 16, 2023 15:094,65231,674,92613,895,000992,0002,277,376
10Jul 16, 2023 15:094,93086,991,96115,775,51102,236,416
11Jul 16, 2023 15:094,93667,877,26715,795,42102,244,608
12Jul 16, 2023 15:094,96285,587,63915,878,38302,240,512