結果
問題 | No.3059 tan |
ユーザー | ks2m |
提出日時 | 2020-04-01 21:41:25 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 379 bytes |
コンパイル時間 | 3,099 ms |
コンパイル使用メモリ | 72,760 KB |
実行使用メモリ | 55,636 KB |
最終ジャッジ日時 | 2023-09-09 17:25:14 |
合計ジャッジ時間 | 4,187 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 128 ms
39,524 KB |
testcase_02 | AC | 128 ms
39,516 KB |
ソースコード
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(); } }