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 30, 2024 03:09BenBenScore: 4,856Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:094,82932,310,35014,424,0001,030,0002,392,064
2Jul 30, 2024 03:094,83336,326,52315,465,00002,383,872
3Jul 30, 2024 03:094,83436,047,07814,438,0001,031,0002,265,088
4Jul 30, 2024 03:094,83832,557,74314,450,0001,032,0002,265,088
5Jul 30, 2024 03:094,83844,890,76514,451,0001,032,0002,392,064
6Jul 30, 2024 03:094,85332,975,43614,496,0001,035,0002,265,088
7Jul 30, 2024 03:094,85638,375,82715,540,00002,265,088
8Jul 30, 2024 03:094,85838,572,00114,510,0001,036,0002,387,968
9Jul 30, 2024 03:094,86942,182,43414,543,0001,038,0002,387,968
10Jul 30, 2024 03:095,08781,186,59916,279,85302,289,664
11Jul 30, 2024 03:095,09286,955,57216,294,29102,281,472
12Jul 30, 2024 03:095,10158,133,07616,322,17602,289,664