Problem examstress
User kxd
Submission Time 2024-08-29 23:15:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

examstress.cpp: In function ‘int main()’:
examstress.cpp:41:19: error: expected ‘;’ before ‘v’
41 | vector<string>(n) v;
| ^~
| ;
examstress.cpp:43:10: error: ‘v’ was not declared in this scope
43 | cin >> v[i];
| ^
examstress.cpp:45:11: error: ‘v’ was not declared in this scope
45 | sort(all(v));
| ^
examstress.cpp:15:16: note: in definition of macro ‘all’
15 | #define all(x) x.begin(),x.end()
| ^