For this Question: You are given positive integers A and B.
Let us calculate A+B (in decimal). If it does not involve a carry, print <b>Easy</b>; if it does, print <b>Hard</b>.The input contains two space separated numbers:
A B

<b>Constraints</b>
A and B are integers.
1 &le; A, B &le; 10^18If the calculation does not involve a carry, print Easy; if it does, print Hard.<b>Sample Input 1</b> 
229 390
<b>Sample Output 1</b> 
Hard

<b>Sample Input 2</b> 
123456789 9876543210
<b>Sample Output 2</b> 
Easy, I have written this Solution Code: #include<bits/stdc++.h>
using namespace std;
int main(){
  long long a,b;
  cin >> a >> b;
  while(a>0 && b>0){
    if((a%10)+(b%10)>=10){cout << "Hard\n";return 0;}
    a/=10;b/=10;
  }
  cout << "Easy\n";
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?