sivan_iut

Untitled

Feb 14th, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. int main ()
  3. {
  4.     int a,i,n,sum=0;
  5.     scanf ("%d",&n);
  6.     for (i=1;i<=n;i++)
  7.     {scanf ("%d",&a);
  8.     sum=sum+a;}
  9.     if (sum==0)
  10.     {
  11.         printf ("Easy\n");
  12.     }
  13.     else  {printf ("Hard\n");}
  14. return 0;
  15. }
Add Comment
Please, Sign In to add comment