CodeChef::FLOW013
#include<iostream>
using namespace std ;
int main(){
int t ;
cin >> t ;
while (t--){
int a,b,c ;
cin >> a >> b >> c ;
int total{a + b +c};
if (total == 180 ) cout << "YES" << '\n';
else cout << "NO" << '\n';
}
return 0;
}
#include<iostream>
using namespace std ;
int main(){
int t ;
cin >> t ;
while (t--){
int a,b,c ;
cin >> a >> b >> c ;
int total{a + b +c};
if (total == 180 ) cout << "YES" << '\n';
else cout << "NO" << '\n';
}
return 0;
}
bhai any hint for chefina and swaps?
ReplyDelete