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:51BenBenScore: 4,647Success
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:514,58143,256,77313,612,0001,047,0002,383,872
2Jul 28, 2024 07:514,59340,067,12814,699,00002,265,088
3Jul 28, 2024 07:514,59440,117,71214,702,00002,392,064
4Jul 28, 2024 07:514,60036,587,40713,669,0001,051,0002,379,776
5Jul 28, 2024 07:514,60434,179,05314,732,00002,265,088
6Jul 28, 2024 07:514,60939,278,63914,750,00002,265,088
7Jul 28, 2024 07:514,64741,176,98114,869,00002,265,088
8Jul 28, 2024 07:514,64835,399,58013,884,000991,0002,265,088
9Jul 28, 2024 07:514,64939,370,34913,887,000991,0002,383,872
10Jul 28, 2024 07:514,85382,120,78315,529,06802,281,472
11Jul 28, 2024 07:514,86077,092,83815,551,14802,277,376
12Jul 28, 2024 07:514,86379,283,70815,562,39902,281,472