Problem sadtrainer
User ShaquilleOatmeal34
Submission Time 2025-04-23 15:57:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:2:8: error: ‘cin’ was not declared in this scope
2 | int n; cin >> n;
| ^~~
sadtrainer.cpp:7:1: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
7 | sort(gopal+0, gopal+n);
| ^~~~
| short
sadtrainer.cpp:9:1: error: ‘cout’ was not declared in this scope
9 | cout << gopal[i] << " ";
| ^~~~
sadtrainer.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
sadtrainer.cpp:1:15: note: to match this ‘{’
1 | signed main() {
| ^