結果
問題 | No.8059 tan |
ユーザー |
|
提出日時 | 2020-04-01 21:33:59 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 156 ms / 2,000 ms |
コード長 | 421 bytes |
コンパイル時間 | 1,964 ms |
コンパイル使用メモリ | 75,264 KB |
実行使用メモリ | 54,392 KB |
最終ジャッジ日時 | 2024-06-27 09:15:31 |
合計ジャッジ時間 | 2,925 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 |
ソースコード
import java.math.BigInteger; import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { new Main().run(); } void run() { Scanner sc=new Scanner(System.in); int T=sc.nextInt(); while(T-->0) { int x=sc.nextInt(); System.out.println(x%45==0?"Y":"N"); } } static void tr(Object... objects) { System.out.println(Arrays.deepToString(objects)); } }