Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int v[101];
- int main ()
- {
- int i, n, contor=0;
- cin>>n;
- for(i=1; i<=n; i++)
- {
- cin>>v[i];
- if(v[i]%2!=0)
- {
- contor++;
- }
- }
- if(contor==0)
- {
- cout<<"DA";
- }
- else
- {
- cout<<"NU";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement