| Problem | lvm |
|---|---|
| User | carson |
| Submission Time | 2026-02-06 21:53:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int main()’:
lvm.cpp:11:10: error: ‘a’ was not declared in this scope
11 | cin >> a[i].first;
| ^
lvm.cpp:16:14: error: ‘input’ was not declared in this scope
16 | string a = input[i].first;
| ^~~~~
lvm.cpp:46:14: error: request for member ‘second’ in ‘a.std::__cxx11::basic_string<char>::operator[](((std::__cxx11::basic_string<char>::size_type)i))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’}
46 | i = a[i].second;
| ^~~~~~
lvm.cpp:57:1: error: expected ‘}’ at end of input
57 | }
| ^
lvm.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^