Problem | 3nplus1 |
---|---|
User | definetlynotbc |
Submission Time | 2023-04-23 09:53:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp:1:2: error: invalid preprocessing directive #incude; did you mean #include?
1 | #incude<iostream>
| ^~~~~~
| include
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin>>n;
| ^~~
3nplus1.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incude<iostream>
3nplus1.cpp:15:2: error: ‘cout’ was not declared in this scope
15 | cout<<answer;
| ^~~~
3nplus1.cpp:15:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?