Problem | fibo |
---|---|
User | kesleryak |
Submission Time | 2024-02-17 19:48:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:3:10: error: ‘cin’ is not a member of ‘std’
3 | std::cin >> n;
| ^~~
fibo.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main() {
fibo.cpp:7:10: error: ‘cout’ is not a member of ‘std’
7 | std::cout << c << std::endl;
| ^~~~
fibo.cpp:7:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
fibo.cpp:7:28: error: ‘endl’ is not a member of ‘std’
7 | std::cout << c << std::endl;
| ^~~~
fibo.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 | int main() {
fibo.cpp:11:18: error: ‘cout’ is not a member of ‘std’
11