r,c=map(int,input().split())
l=[list(map(int,input().split())) for i in range(r)]
ans=0
for i in range(r):
for j in range(c):
if (i>=r//2 or j>=c//2 )and l[i][j]%2:
ans+=1
print(ans)
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
0 Comments