Problem | maximum |
---|---|
User | zeemou |
Submission Time | 2023-11-12 15:58:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp: In function ‘int main()’:
maximum.cpp:4:10: error: ‘cin’ is not a member of ‘std’
4 | std::cin >> a>>b;
| ^~~
maximum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main() {
maximum.cpp:7:14: error: ‘cout’ is not a member of ‘std’
7 | std::cout<<a;
| ^~~~
maximum.cpp:7:14: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
maximum.cpp:9:14: error: ‘cout’ is not a member of ‘std’
9 | std::cout<<b;
| ^~~~
maximum.cpp:9:14: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?