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 16, 2024 14:00AnSaAnSaScore: 5,506Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:005,45240,253,59116,419,0001,026,0002,289,664
2Jun 16, 2024 14:005,46336,439,29616,454,0001,028,0002,289,664
3Jun 16, 2024 14:005,47844,135,40817,529,00002,383,872
4Jun 16, 2024 14:005,48139,862,75316,508,0001,031,0002,273,280
5Jun 16, 2024 14:005,48634,701,29316,523,0001,032,0002,289,664
6Jun 16, 2024 14:005,49338,762,06317,579,00002,289,664
7Jun 16, 2024 14:005,50639,773,60316,582,0001,036,0002,387,968
8Jun 16, 2024 14:005,50845,426,47817,627,00002,289,664
9Jun 16, 2024 14:005,51639,099,18816,613,0001,038,0002,289,664
10Jun 16, 2024 14:005,72979,353,24318,333,09302,285,568
11Jun 16, 2024 14:005,75481,896,37218,413,76002,297,856
12Jun 16, 2024 14:005,77784,957,01718,485,92702,306,048