Problem sadtrainer
User Harshith
Submission Time 2026-03-09 15:54:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sadtrainer.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:8:2: error: ‘cin’ was not declared in this scope
8 | cin >> L >> x;
| ^~~
sadtrainer.cpp:17:4: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
17 | sort(a+0, a+L);
| ^~~~
| short
sadtrainer.cpp:18:1: error: ‘cout’ was not declared in this scope
18 | cout<<a[x];
| ^~~~