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 9, 2024 18:48AnSaAnSaScore: 5,922Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:485,89451,872,45618,861,00002,281,472
2Jun 9, 2024 18:485,89447,349,31916,876,0001,985,0002,281,472
3Jun 9, 2024 18:485,89442,934,78316,877,0001,985,0002,273,280
4Jun 9, 2024 18:485,89637,675,83717,874,000993,0002,281,472
5Jun 9, 2024 18:485,90441,591,31916,904,0001,988,0002,281,472
6Jun 9, 2024 18:485,91141,499,65416,923,0001,991,0002,281,472
7Jun 9, 2024 18:485,92247,021,88216,957,0001,994,0002,281,472
8Jun 9, 2024 18:485,94340,748,18217,015,0002,001,0002,281,472
9Jun 9, 2024 18:485,94949,485,56017,034,0002,004,0002,281,472
10Jun 9, 2024 18:486,18486,242,47319,789,69502,179,072
11Jun 9, 2024 18:486,19191,298,04719,810,84102,301,952
12Jun 9, 2024 18:486,19692,170,55419,825,87502,187,264