/in/foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include<bits/stdc++.h>
^
/in/foo.c: In function 'main':
/in/foo.c:7:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d%d",&n,&m);
^~~~~
/in/foo.c:7:5: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:7:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:15:5: warning: implicit declaration of function 'sort' [-Wimplicit-function-declaration]
sort(a+1,a+n+1);
^~~~
/in/foo.c:25:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d",m);
^~~~~~
/in/foo.c:25:5: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:25:5: note: include '<stdio.h>' or provide a declaration of 'printf'