If we think about this algebraically, what we really want to do is express the input pixel as the weighted sum of palette colours. This is nothing more than a linear combination of palette colours with weights :
Елизавета Городищева (Редактор отдела «Экономика»)
,详情可参考51吃瓜
�������ǂނɂ́A�R�����g�̗��p�K���ɓ��ӂ��u�A�C�e�B���f�B�AID�v�����сuITmedia �r�W�l�X�I�����C���ʐM�v�̓o�^���K�v�ł�
Not Equal: Everything in this space must be different. The answer is 2-2, placed horizontally; 4-4, placed vertically; 0-0, placed vertically.