結果

問題 No.3059 tan
ユーザー 遭難者遭難者
提出日時 2020-09-21 20:15:59
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 364 bytes
コンパイル時間 2,213 ms
コンパイル使用メモリ 72,120 KB
実行使用メモリ 58,112 KB
最終ジャッジ日時 2023-09-06 23:33:51
合計ジャッジ時間 3,127 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int t = Integer.parseInt(sc.next());
		for(int i = 0 ; i < t ; i++){
			if(Integer.parseInt(sc.next()) == 45) ou.println("Y");
			else ou.println("N");
		}
		ou.flush();
	}
}
0