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 28, 2024 09:09BenBenScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:095,03435,221,92515,102,0001,006,0002,265,088
2Jul 28, 2024 09:095,03643,672,51915,108,0001,007,0002,265,088
3Jul 28, 2024 09:095,03632,523,98214,102,0002,014,0002,383,872
4Jul 28, 2024 09:095,06346,457,41614,178,0002,025,0002,392,064
5Jul 28, 2024 09:095,06834,722,06715,206,0001,013,0002,392,064
6Jul 28, 2024 09:095,08935,409,81914,251,0002,035,0002,396,160
7Jul 28, 2024 09:095,09641,556,25516,306,00002,527,232
8Jul 28, 2024 09:095,09739,294,60116,311,00002,265,088
9Jul 28, 2024 09:095,10732,725,38616,342,00002,387,968
10Jul 28, 2024 09:095,27995,992,84916,891,29502,277,376
11Jul 28, 2024 09:095,31282,601,49116,997,97102,281,472
12Jul 28, 2024 09:095,31674,933,83017,011,10202,285,568