結果

問題 No.3059 tan
ユーザー okitzokitz
提出日時 2020-04-01 21:42:32
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 848 bytes
コンパイル時間 1,468 ms
コンパイル使用メモリ 165,532 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-09-09 17:27:43
合計ジャッジ時間 1,948 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:9: 警告: #pragma once がメインファイルにあります
    2 | #pragma once
      |         ^~~~

ソースコード

diff #

#include <bits/stdc++.h>
#pragma once
using namespace std;
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
typedef long long ll;
typedef long double lb;
#define int long long
#define double long double
#define endn "\n"
typedef pair<int,int> P;
const int MOD = 1000000007;
const ll INF = 1e16;
const double EPS = 1e-10;
const double PI = 3.141592653589793;
template<class T> inline bool chmin(T& a, T b){if(a>b){a = b;return 1;}return 0;}
template<class T> inline bool chmax(T& a, T b){if(a<b){a = b;return 1;}return 0;}
const pair<int,int> fd[] = {make_pair(1,0),make_pair(-1,0),make_pair(0,1),make_pair(0,-1)}; 


////////////////////////////////////////////////////////////////////

signed main(){
  int t;cin>>t;
  
  rep(i,t){
    int a;cin>>a;
    if(a == 0)cout << "Y" << endl;
    else cout << "N" << endl;
  }
}
0