Problem logs
User G
Submission Time 2024-03-11 09:55:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

logs.cpp: In function ‘int main()’:
logs.cpp:13:11: error: ‘class std::vector<double>’ has no member named ‘begins’; did you mean ‘begin’?
13 | sort(a.begins(),a.ends());
| ^~~~~~
| begin
logs.cpp:13:22: error: ‘class std::vector<double>’ has no member named ‘ends’; did you mean ‘end’?
13 | sort(a.begins(),a.ends());
| ^~~~
| end
logs.cpp:21:10: error: ‘class std::vector<double>’ has no member named ‘begins’; did you mean ‘begin’?
21 | sort(a.begins,a.ends);
| ^~~~~~
| begin
logs.cpp:21:19: error: ‘class std::vector<double>’ has no member named ‘ends’; did you mean ‘end’?
21 | sort(a.begins,a.ends);
| ^~~~
| end