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 29, 2024 06:59byrtoletbyrtoletScore: 6,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:595,99881,941,00219,193,37002,297,856
2Jul 29, 2024 06:596,029107,162,52619,292,28702,179,072
3Jul 29, 2024 06:596,09063,910,87119,487,49102,187,264
4Jul 29, 2024 06:596,38642,410,21819,414,0001,021,0002,289,664
5Jul 29, 2024 06:596,40742,559,17519,478,0001,025,0002,289,664
6Jul 29, 2024 06:596,41345,234,40219,497,0001,026,0002,289,664
7Jul 29, 2024 06:596,41541,372,39119,503,0001,026,0002,289,664
8Jul 29, 2024 06:596,41741,147,01619,507,0001,026,0002,289,664
9Jul 29, 2024 06:596,43340,912,91219,558,0001,029,0002,289,664
10Jul 29, 2024 06:596,44639,260,43519,597,0001,031,0002,289,664
11Jul 29, 2024 06:596,45146,569,70619,612,0001,032,0002,273,280
12Jul 29, 2024 06:596,47647,600,66119,687,0001,036,0002,289,664