我已经编写了这个程序,它通过了所有手动测试条件,但是当我在 IDE 上在线提交时说“错误答案”。约束 0≤a,b,c≤180
#include <iostream>
using namespace std;
int main() {
// your code goes here
double a,b,c;
cin>>a>>b>>c;
if(a+b+c==180)
cout<<"YES";
else
cout<<"NO";
return 0;
}