0_0_39668584_1751.cpp: In function 'int main()':
0_0_39668584_1751.cpp:10:9: error: 'scanf' was not declared in this scope
10 | scanf("%d %d",&n,&m)
| ^~~~~
0_0_39668584_1751.cpp:11:29: error: 'j' was not declared in this scope
11 | for(int j=0;j<n;j++){
| ^
0_0_39668584_1751.cpp:16:25: error: 'printf' was not declared in this scope
16 | printf("%d ",a[i]);
| ^~~~~~
0_0_39668584_1751.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include<algorithm>
+++ |+#include <cstdio>
2 | #define Max 100
|