fork download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int n , a;
  9.  
  10. cin >> n >> a;
  11. cout << pow(n , 2) - a << endl;
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
1.62963e+16