naan.cpp: In function 'int main()':
naan.cpp:64:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
64 | for(int i=1; i<=N; i++) printf("%d ", ans[i]); printf("\n");
| ^~~
naan.cpp:64:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
64 | for(int i=1; i<=N; i++) printf("%d ", ans[i]); printf("\n");
| ^~~~~~
naan.cpp:37:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
37 | scanf("%d%d", &N, &L);
| ~~~~~^~~~~~~~~~~~~~~~
naan.cpp:40:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
40 | for(int j=1; j<=L; j++) scanf("%lld", &A[i][j]), A[i][j]+=A[i][j-1];
| ~~~~~^~~~~~~~~~~~~~~~~~