結果
問題 |
No.8059 tan
|
ユーザー |
![]() |
提出日時 | 2020-04-01 21:41:25 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 379 bytes |
コンパイル時間 | 2,723 ms |
コンパイル使用メモリ | 74,436 KB |
実行使用メモリ | 54,344 KB |
最終ジャッジ日時 | 2024-06-27 10:05:51 |
合計ジャッジ時間 | 3,523 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 1 |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); for (int i = 0; i < t; i++) { int x = sc.nextInt(); if (x == 0 || x == 45 || x == 60 ) { System.out.println("Y"); } else { System.out.println("N"); } } sc.close(); } }