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;
}


Comments

Post a Comment

Popular posts from this blog

CodeChef::CSUB

How Recursion Works?

Atcoder Educational Dp contest :: C vacation