JordanPoole_3 @ 2022-08-23 20:54:08
#include<bits/stdc++.h>
using namespace std;
int a,b;
int main()
{
cin>>a>>b;
cout<<(int)((pow(max(a,b),2)-pow(min(a,b),2))/(max(a,b)-min(a,b)));
}
by HarryKane @ 2022-08-23 20:56:11
@JordanPoole_3 用户名好评
by zajasi @ 2022-08-23 20:58:29
这,真的是 A+B Problem
吗?
by ajahjahah @ 2022-08-23 20:59:40
平方差公式是吧(
by JordanPoole_3 @ 2022-08-23 20:59:53
@zjs201018 啊对对对,还A了七个点
by JordanPoole_3 @ 2022-08-23 21:00:21
@HarryKane 啊,是刺迷吗
by JordanPoole_3 @ 2022-08-23 21:00:59
@HarryKane 我去竟然是一家人
by ajahjahah @ 2022-08-23 21:01:39
by HarryKane @ 2022-08-23 21:02:07
@JordanPoole_3 啊对啊
by _i_i_ @ 2022-08-23 21:02:24
@JordanPoole_3 这直接爆 long double 了
by JordanPoole_3 @ 2022-08-23 21:02:48
@HarryKane 哇塞找着同胞了