fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int a, b, c;
  7. cin >> a >> b >> c;
  8. cout << (a - b) * (a - b) / c;
  9. return 0;
  10. }
Success #stdin #stdout 0s 4908KB
stdin
2 2 1
stdout
Standard output is empty