結果
| 問題 | No.8059 tan |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-01 22:38:47 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 311 bytes |
| 記録 | |
| コンパイル時間 | 1,031 ms |
| コンパイル使用メモリ | 179,388 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-15 07:00:07 |
| 合計ジャッジ時間 | 1,341 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n;
cin >> n;
for (int i = 0; i < n; ++i) {
int x;
cin >> x;
cout << ((x == 0 || x == 45) ? "Y" : "N") << endl;
}
return 0;
}