Problem medianstring
User abcde271828
Submission Time 2026-02-09 22:14:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianstring.cpp: In function ‘int main()’:
medianstring.cpp:6:2: error: ‘vi’ was not declared in this scope
6 | vi v(n);
| ^~
medianstring.cpp:7:37: error: ‘v’ was not declared in this scope
7 | for (int i = 0; i < n; i++) cin >> v[i];
| ^
medianstring.cpp:8:10: error: ‘v’ was not declared in this scope
8 | cout << v[n/2];
| ^