Problem | evenorodd |
---|---|
User | Bensamuel2008 |
Submission Time | 2025-06-16 16:38:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp:1:2: error: invalid preprocessing directive #including; did you mean #include?
1 | #including <bits/stdc++.h>
| ^~~~~~~~~
| include
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:3: error: ‘cin’ was not declared in this scope
5 | cin >> a;
| ^~~
evenorodd.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #including <bits/stdc++.h>
evenorodd.cpp:6:5: error: expected ‘(’ before ‘{’ token
6 | if {a%2 == 0} {cout << even};
| ^
| (
evenorodd.cpp:6:17: error: ‘cout’ was not declared in this scope
6 | if {a%2 == 0} {cout << even};
| ^~~~
evenorodd.cpp:6:17: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
evenorodd.cpp:6:25: error: ‘even’ wa