0

Coding

Explanation: When two man are dropped at positions (5,5) and (5,3) then the total number of buildings controlled by soldiers are 22 No. of buildings in column 3+No. of buildings in column 5 No. of buildings in row 5-No. of buildings common among them=8-8-8-2 =22 Therefore, 22 is returned as the output Example 2 input: 1 input2: (4,4)) Output: 15

28th Aug 2021, 3:37 PM
Yesha Patel
2 Respuestas
+ 3
This is the Q&A section. You can ask programming related questions here. So what's your question and what's the relevant programming language?
28th Aug 2021, 4:10 PM
Lisa
Lisa - avatar
0
Answer?
29th Aug 2022, 3:24 PM
Konika Jindal
Konika Jindal - avatar