Problem | evenorodd |
---|---|
User | TheAccomplice |
Submission Time | 2024-04-13 10:13:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
1 | #inclide <iostream>
| ^~~~~~~
| include
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> x;
| ^~~
evenorodd.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclide <iostream>
evenorodd.cpp:9:2: error: ‘cout’ was not declared in this scope
9 | cout << 2;
| ^~~~
evenorodd.cpp:9:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?