i have to solve a programm that has 4 sensors series.there is an array 10x15
with black and white cells like this
the challenge is to make a programm that take as entrance a file with the result of 4 sensor seiries (black cells sensor translate as 1 ,and the white cells sensor translate as 0,so every sensor(73 totaly) give a number of the sum of ones(1) ,and the numbers are this result.
10 10 6 4 6 8 13 15 11 6 ///1 seiries of sensors
0 1 2 2 2 2 4 5 5 6 7 6 5 6 6 5 5 6 6 3 2 2 1 0///2 seiries of sensors
2 4 5 5 7 6 7 10 10 10 7 3 3 5 5///3 seiries of sensors
0 0 1 3 4 4 4 4 3 4 5 7 8 8 9 9 6 4 4 2 0 0 0 0///4 series of sensors
the exit φιλε should be a file like this
.##########....
.##########....
....######.....
......####.....
.......####..##
.......########
#####..########
###############
..#########..##
....######..... (the 1 correspond to '#' and 0 to '.'
i really need a idea of who sensors should be.