結果

問題 No.3059 tan
ユーザー 37zigen37zigen
提出日時 2020-04-01 21:33:59
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 2,000 ms
コード長 421 bytes
コンパイル時間 2,370 ms
コンパイル使用メモリ 71,828 KB
実行使用メモリ 55,868 KB
最終ジャッジ日時 2023-09-09 16:30:29
合計ジャッジ時間 3,437 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 143 ms
55,736 KB
testcase_01 AC 145 ms
55,592 KB
testcase_02 AC 144 ms
55,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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));
	}

}

0