sivan_iut

Untitled

Feb 14th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int n;
  5. int i,j;
  6. int s[100];
  7. int sum=0;
  8. scanf("%d",&n);
  9. for(i=0;i<n;i++)
  10. {
  11. scanf("%d",&s[j]);
  12. sum=sum+s[j];
  13. }
  14. if(sum==0)
  15. printf("EASY");
  16. else
  17. printf("HARD");
  18.  
  19.  
  20.  
  21. return 0;
  22. }
Add Comment
Please, Sign In to add comment