結果
| 問題 | No.8059 tan |
| コンテスト | |
| ユーザー |
ks2m
|
| 提出日時 | 2020-04-01 21:43:47 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| コード長 | 363 bytes |
| 記録 | |
| コンパイル時間 | 1,612 ms |
| コンパイル使用メモリ | 82,776 KB |
| 実行使用メモリ | 47,044 KB |
| 最終ジャッジ日時 | 2026-03-15 01:25:53 |
| 合計ジャッジ時間 | 2,357 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 |
ソースコード
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
) {
System.out.println("Y");
} else {
System.out.println("N");
}
}
sc.close();
}
}
ks2m