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 07:55BenBenScore: 4,864Success
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 07:554,84435,533,31114,467,0001,033,0002,265,088
2Jul 28, 2024 07:554,84836,510,13314,481,0001,034,0002,387,968
3Jul 28, 2024 07:554,84937,135,62315,518,00002,387,968
4Jul 28, 2024 07:554,85335,147,53914,496,0001,035,0002,265,088
5Jul 28, 2024 07:554,85733,126,05715,542,00002,265,088
6Jul 28, 2024 07:554,85941,781,06814,514,0001,036,0002,506,752
7Jul 28, 2024 07:554,86430,559,03415,566,00002,392,064
8Jul 28, 2024 07:554,87337,576,77714,554,0001,039,0002,498,560
9Jul 28, 2024 07:554,89547,006,25014,619,0001,044,0002,383,872
10Jul 28, 2024 07:555,09665,158,89816,308,40202,273,280
11Jul 28, 2024 07:555,10984,200,20716,349,68402,273,280
12Jul 28, 2024 07:555,13287,980,35216,422,39502,293,760