Problem | logs |
---|---|
User | G |
Submission Time | 2024-03-11 09:50:52 |
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:14:18: error: ‘class std::priority_queue<double>’ has no member named ‘back’
14 | double x=a.back()/2;
| ^~~~
logs.cpp:15:16: error: ‘class std::priority_queue<double>’ has no member named ‘back’
15 | double x2=a.back()-x;
| ^~~~
logs.cpp:21:10: error: ‘class std::priority_queue<double>’ has no member named ‘begin’
21 | sort(a.begin(),a.end());
| ^~~~~
logs.cpp:21:20: error: ‘class std::priority_queue<double>’ has no member named ‘end’
21 | sort(a.begin(),a.end());
| ^~~
logs.cpp:22:13: error: ‘class std::priority_queue<double>’ has no member named ‘back’
22 | cout << a.back();
| ^~~~