Problem fibo_easy
User PrunJuice
Submission Time 2024-06-20 13:49:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo_easy.cpp: In function ‘int main()’:
fibo_easy.cpp:14:2: error: ‘cin’ was not declared in this scope
14 | cin >> n;
| ^~~
fibo_easy.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
fibo_easy.cpp:15:2: error: ‘cout’ was not declared in this scope
15 | cout << fibo(n);
| ^~~~
fibo_easy.cpp:15:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?