Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- long long x, d;
- int main(){
- freopen("sn.txt", "r", stdin);
- freopen("kq.txt", "w", stdout);
- while(cin >> x)
- if(x%2 == 0)
- d++;
- cout << d;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement