Problem | logs |
---|---|
User | G |
Submission Time | 2024-03-11 09:54:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
logs.cpp: In function ‘int main()’:
logs.cpp:10:14: error: ‘b’ was not declared in this scope
10 | cin >> b;
| ^
logs.cpp:11:6: error: ‘class std::vector<double>’ has no member named ‘push’
11 | a.push(b);
| ^~~~
logs.cpp:14:6: error: ‘class std::vector<double>’ has no member named ‘sort’
14 | a.sort(a.begin(),a.end());
| ^~~~
logs.cpp:17:9: error: ‘class std::vector<double>’ has no member named ‘pop’
17 | a.pop();
| ^~~
logs.cpp:18:9: error: ‘class std::vector<double>’ has no member named ‘push’
18 | a.push(x);
| ^~~~
logs.cpp:19:9: error: ‘class std::vector<double>’ has no member named ‘push’
19 | a.push(x2);
| ^~~~
logs.cpp:22:5: error: ‘class std::vector<double>’ has no member named ‘sort’
22 | a.sort(a.begin,a.end);
| ^~~~