Problem evenorodd_ex
User Yangyuchen13
Submission Time 2026-03-27 14:46:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd_ex.cpp:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
1 | #inlude <bits/stdc++.h>
| ^~~~~~
| include
evenorodd_ex.cpp: In function ‘int main()’:
evenorodd_ex.cpp:6:2: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
evenorodd_ex.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin.tie(0);
| ^~~
evenorodd_ex.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlude <bits/stdc++.h>
evenorodd_ex.cpp:12:8: error: invalid operands of types ‘long long int [a]’ and ‘int’ to binary ‘operator%’
12 | if(b %2==0){
| ~ ^~
| | |
| | int
| long long int [a]
evenorodd_ex.cpp:14:13: error: invalid operands of types ‘long long int [a]’ and ‘int’ to binary