fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long a,b;
  6. cin >> a >> b;
  7. cout << a*a+b*b << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 15240KB
stdin
1210 1250
stdout
3026600