younis abdeljawwad

younis abdeljawwad

  • NA
  • 73
  • 96.7k

i need a help in this question

Apr 19 2013 4:33 AM

suppose that you have an integer array of 100 rows and 100 columns already filled with data. Imagine that a window of 4 rows and 4 columns initially contains the first 4 rows and the last 4 columns. Then the window starts moving downward on the auxiliary diagonal as shown in the following figure until it reaches the last row:-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

    

Write a c++ code to find at which step(s) the average of the window elements is maximum


Answers (1)