#include #define rep(i,a,b) for(int i=a;i> B1 >> B2 >> B3; ll B4 = (B3 * B3 - B2 * B3 + B2 * B2 - B1 * B3) / (B2 - B1); cout << B4 << endl; }