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 listJun 9, 2024 14:10AndreyTSAndreyTSScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:105,27148,468,18715,874,000992,0002,531,328
2Jun 9, 2024 14:105,27343,157,94514,888,0001,985,0002,285,568
3Jun 9, 2024 14:105,27344,781,57516,874,00002,273,280
4Jun 9, 2024 14:105,27540,205,02214,895,0001,986,0002,379,776
5Jun 9, 2024 14:105,27639,737,32114,896,0001,986,0002,289,664
6Jun 9, 2024 14:105,27744,580,71514,901,0001,986,0002,289,664
7Jun 9, 2024 14:105,30034,433,11314,966,0001,995,0002,289,664
8Jun 9, 2024 14:105,30348,263,41314,972,0001,996,0002,273,280
9Jun 9, 2024 14:105,35544,967,27815,121,0002,016,0002,289,664
10Jun 9, 2024 14:105,50875,812,87017,626,88002,297,856
11Jun 9, 2024 14:105,54275,350,79917,734,39602,179,072
12Jun 9, 2024 14:105,56185,489,56517,793,63102,179,072