結果
| 問題 |
No.8059 tan
|
| コンテスト | |
| ユーザー |
guricerin
|
| 提出日時 | 2020-04-02 18:33:14 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 1,321 bytes |
| コンパイル時間 | 2,048 ms |
| コンパイル使用メモリ | 193,352 KB |
| 最終ジャッジ日時 | 2025-01-09 12:34:24 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = (a); i < (int)(b); i++)
#define rrep(i, a, b) for (int i = (a); i >= (int)(b); i--)
#define all(x) (x).begin(), (x).end()
using i32 = int32_t;
using i64 = int64_t;
using f32 = float;
using f64 = double;
using P = pair<int, int>;
template <class T>
bool chmin(T& a, T b) {
if (a > b) {
a = b;
return true;
} else {
return false;
}
}
template <class T>
bool chmax(T& a, T b) {
if (a < b) {
a = b;
return true;
} else {
return false;
}
}
template <class T>
void dump_vec(const vector<T>& v) {
auto len = v.size();
rep(i, 0, len) {
cout << v[i] << (i == (int)len - 1 ? "\n" : " ");
}
}
struct FastIO {
FastIO() {
cin.tie(0);
ios::sync_with_stdio(false);
cout << fixed << setprecision(20);
}
} FASTIO;
//---------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------
signed main() {
int t;
cin >> t;
rep(i, 0, t) {
int x;
cin >> x;
if (x % 45 == 0) {
cout << "Y\n";
} else {
cout << "N\n";
}
}
}
guricerin