Adversarial example: finding changed pixels
An adversarial example is a very small noise added to an image to deceive an artificial neural network, almost imperceptible to the human eye (for example, if a minimal change of a few pixels is applied to an image of a panda, popular classifiers might recognize it as something else). The idea of the attack is to cross the model's decision boundary with a very small but targeted change.
Below is a 6x6 "image" — the intensity of each pixel is represented by an integer from 0 to 9. The original and the versions with added adversarial noise (only 3 pixels, each with only a ±1 change) are in the attached file piksellar.txt.
Compare the two 6x6 matrices and find exactly which 3 pixels have changed (count rows and columns starting from 1: top-left corner — (1,1), bottom-right corner — (6,6)).
Submit the sum of the values of all changed pixels (row+column) as the answer.
Answer: only the number, without other characters (for example 0.1234 or -3).