Problem medianstring
User Subz3r0
Submission Time 2025-03-14 16:11:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianstring.cpp: In function ‘int main()’:
medianstring.cpp:6:10: error: ‘i’ was not declared in this scope
6 | for (i = 0; i < a; i++) {
| ^
medianstring.cpp:8:23: error: expected ‘;’ before ‘}’ token
8 | V.push_back(b)
| ^
| ;
9 | }
| ~
medianstring.cpp:10:26: error: expected ‘;’ before ‘}’ token
10 | cout << V[(a+1)/2 -1]
| ^
| ;
11 | }
| ~