题解 | A-B≠C
A-B≠C
https://www.nowcoder.com/practice/78ed8bed04b94b55b525b83fc6e9757a
#include<bits/stdc++.h>
using namespace std;
int main() {
double a, b, c;
cin >> a >> b >> c;
const double EPS = 1e-6;
if (abs(a - (b+c))<=EPS)cout << "YES";
else cout << "NO";
return 0;
}//}-32.683102
//5.789956
//-38.473058

查看18道真题和解析