SHARE
TWEET

codeforce - Fance Fancy

jakaria_hossain Apr 3rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define fastread()(ios_base::sync_with_stdio(false),cin.tie(NULL));
  4. int main()
  5. {
  6.     int t;
  7.     fastread()
  8.     cin>>t;
  9.     while(t--)
  10.     {
  11.         int a;
  12.         cin>>a;
  13.         if(360%(180-a)>0)cout<<"NO"<<endl;
  14.         else cout<<"YES"<<endl;
  15.     }
  16.     return 0;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top