Waveprintof two d array

why my code is not submit and not pass the any test case eventhough when i compile with sample input the answer coming is right.

hey @mhasif please share your code through ide.codingblocks.com.