Problem sadtrainer
User Yaoru
Submission Time 2025-11-01 15:32:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sadtrainer.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h
| ^~~~
sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:5:5: error: ‘scanf’ was not declared in this scope
5 | scanf("%d %d",&n,&k);
| ^~~~~
sadtrainer.cpp:10:17: error: ‘selectKth’ was not declared in this scope
10 | printf("%d",selectKth(a,0,n-1,k));
| ^~~~~~~~~
sadtrainer.cpp:10:5: error: ‘printf’ was not declared in this scope
10 | printf("%d",selectKth(a,0,n-1,k));
| ^~~~~~
sadtrainer.cpp:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | #include bits/stdc++.h