fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main () {
  4. long long n;
  5. cin >> n;
  6. long long x;
  7. cin >> x;
  8. long long sc = 0, tl = 0;
  9. for (int i = 0; i <= n-1; i++);
  10. {
  11. cin>> x;
  12. if (x % 2 == 0);
  13. }
  14. }
Success #stdin #stdout 0s 5320KB
stdin
5
1 4 5 6 9
stdout
Standard output is empty