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 18, 2024 14:41Matt StuchlikMatt StuchlikScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 14:415,58246,434,73617,863,00002,277,376
2Jul 18, 2024 14:415,58349,652,56116,872,000992,0002,531,328
3Jul 18, 2024 14:415,58748,882,26816,884,000993,0002,289,664
4Jul 18, 2024 14:415,59042,968,56515,902,0001,987,0002,293,760
5Jul 18, 2024 14:415,59940,649,16216,863,0001,053,0002,289,664
6Jul 18, 2024 14:415,60439,815,93315,940,0001,992,0002,285,568
7Jul 18, 2024 14:415,60441,238,77115,942,0001,992,0002,289,664
8Jul 18, 2024 14:415,61340,642,87815,966,0001,995,0002,289,664
9Jul 18, 2024 14:415,61336,571,98315,967,0001,995,0002,289,664
10Jul 18, 2024 14:415,79992,570,72918,558,13402,306,048
11Jul 18, 2024 14:415,81692,759,07318,611,90702,306,048
12Jul 18, 2024 14:415,83495,897,40918,669,18202,306,048