Problem medianstring
User 7Janish7
Submission Time 2025-10-12 18:51:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianstring.cpp:4:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | cin >> N;
| ^~~
| sin
medianstring.cpp:5:8: error: array bound is not an integer constant before ‘]’ token
5 | int I[N];
| ^
medianstring.cpp:7:1: error: expected unqualified-id before ‘for’
7 | for (int i = 0, i < N, i++){
| ^~~
medianstring.cpp:10:1: error: ‘cout’ does not name a type
10 | cout << I[K];
| ^~~~