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 20, 2024 12:27Matt StuchlikMatt StuchlikScore: 4,979Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:274,95642,282,12913,877,0001,982,0002,289,664
2Jul 20, 2024 12:274,95737,922,27513,879,0001,982,0002,289,664
3Jul 20, 2024 12:274,95840,483,10413,881,0001,983,0002,383,872
4Jul 20, 2024 12:274,95841,599,87313,883,0001,983,0002,289,664
5Jul 20, 2024 12:274,96142,034,26713,891,0001,984,0002,289,664
6Jul 20, 2024 12:274,96240,589,95914,821,0001,058,0002,289,664
7Jul 20, 2024 12:274,97933,978,46314,939,000995,0002,277,376
8Jul 20, 2024 12:274,99740,686,56213,991,0001,998,0002,289,664
9Jul 20, 2024 12:275,00632,215,11414,016,0002,002,0002,289,664
10Jul 20, 2024 12:275,20390,511,70116,649,22702,285,568
11Jul 20, 2024 12:275,21490,812,36516,683,70502,293,760
12Jul 20, 2024 12:275,23262,556,06116,741,61102,289,664