結果
問題 | No.3059 tan |
ユーザー | kenta255 |
提出日時 | 2020-04-01 22:11:23 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 332 bytes |
コンパイル時間 | 1,933 ms |
コンパイル使用メモリ | 200,312 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-09 18:30:28 |
合計ジャッジ時間 | 2,418 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,380 KB |
testcase_01 | AC | 2 ms
4,376 KB |
testcase_02 | AC | 1 ms
4,376 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define FOR(I,A,B) for(ll I = ll(A); I < ll(B); ++I) const ll MOD = 1000000007; int main(){ int T; cin >> T; vector<ll> X(T); for(auto &&a:X){ cin >> a; if(a==0 || a==45){ cout << "Y" << endl; }else{ cout << "N" << endl; } } }