結果
問題 | No.3059 tan |
ユーザー | KKT89 |
提出日時 | 2020-04-01 21:44:15 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 336 bytes |
コンパイル時間 | 791 ms |
コンパイル使用メモリ | 94,952 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-09 17:32:55 |
合計ジャッジ時間 | 1,238 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,380 KB |
testcase_02 | AC | 2 ms
4,376 KB |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <random> using namespace std; typedef long long ll; typedef unsigned long long ull; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int q; cin >> q; while(q--){ int n; cin >> n; if(n==45||n==0){ printf("Y\n"); }else{ printf("N\n"); } } }