Problem smurf
User YongXin
Submission Time 2023-06-06 11:40:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp: In function ‘int main()’:
smurf.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0;i<n;++i) cin>>t; v.push_back(t); reverse(v.begin(),v.end());
| ^
smurf.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=0;i<n;++i) cout<<v[i]<<' ';
| ^