結果

問題 No.3059 tan
ユーザー shop_oneshop_one
提出日時 2020-04-01 21:56:57
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 504 bytes
コンパイル時間 859 ms
コンパイル使用メモリ 91,488 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-09-09 18:08:42
合計ジャッジ時間 1,266 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

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==45){
      cout <<"Y\n";
    }else{
      cout <<"N\n";
    }
  }
}
0