PLZ CORRECT MY CODE WHICH I MADE AS IT IS GIVING WRONG OUTPUT

MY CODE URL:-https://ide.codingblocks.com/s/582173

PLZ MCORRECT MY CODE BY MAKING SOME CHANGES.

@chhabrarishi2001_264ecb7697e8af2a your code has 2 issues

  1. in function subquery sum you are writing preprocess as an argument jo ki nhi aaega
  2. in prepocess you are adding values coloum wise but you also have to add them row wise
    here is the corrected code
    Coding Blocks IDE
    if issue still exist let me know and if clear please mark it as resolve and rate experience
1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like

SIR YOUR CODE IS SHOWING COMPILATION ERROR

@chhabrarishi2001_264ecb7697e8af2a change the header file from bits/stdc++.h to iostream it works fine

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like