結果

問題 No.3059 tan
ユーザー shop_oneshop_one
提出日時 2020-04-01 21:50:07
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 525 bytes
コンパイル時間 767 ms
コンパイル使用メモリ 91,384 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-09 17:55:15
合計ジャッジ時間 1,239 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 2 ms
4,376 KB
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

// I SELL YOU...! 
#include<iostream>
#include<vector>
#include<algorithm>
#include<functional>
#include<queue>
#include<chrono>
#include<iomanip>
#include<map>
#include<set>
using namespace std;
using ll = long long;
using P = pair<ll,ll>;
void init_io(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << setprecision(10);
}
signed main(){
  init_io();
  ll t,x;
  cin >> t;
  for(int i=0;i<t;i++){
    cin >> x;
    if(x==0||x==30||x==45||x==60||x==90){
      cout <<"Y\n";
    }else{
      cout <<"N\n";
    }
  }
}
0