| Problem | waveway |
|---|---|
| User | Hatrix |
| Submission Time | 2026-11-06 13:45:45 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
waveway.cpp: In function ‘int main()’:
waveway.cpp:11:14: error: conflicting declaration ‘std::vector<long long int> n’
11 | vector<int> n;
| ^
waveway.cpp:10:6: note: previous declaration as ‘long long int n’
10 | int n; cin >> n;
| ^
waveway.cpp:13:13: error: invalid types ‘long long int[long long int]’ for array subscript
13 | cin >> n[i];
| ^
waveway.cpp:14:9: error: invalid types ‘long long int[long long int]’ for array subscript
14 | if(n[i] == "name") {
| ^
waveway.cpp:15:6: error: request for member ‘pop’ in ‘i’, which is of non-class type ‘long long int’
15 | i.pop;
| ^~~
waveway.cpp:17:6: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘push_front’
17 | n.push_front();
| ^~~~~~~~~~