Problem fibo
User meal
Submission Time 2024-11-07 16:21:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
fibo.cpp: In function ‘int main()’:
fibo.cpp:5:9: error: ‘cin’ was not declared in this scope
5 | int n; cin >> n;
| ^~~
fibo.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <bits/stdc++.h>
fibo.cpp:8:2: error: ‘cout’ was not declared in this scope
8 | cout << a << "\n" << b;
| ^~~~
fibo.cpp:8:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?