結果

問題 No.485 方程式のお勉強
ユーザー jimanojimano
提出日時 2018-01-14 14:54:46
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 322 bytes
コンパイル時間 2,943 ms
コンパイル使用メモリ 71,728 KB
実行使用メモリ 56,632 KB
最終ジャッジ日時 2023-08-25 17:19:53
合計ジャッジ時間 6,008 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 119 ms
55,288 KB
testcase_04 WA -
testcase_05 AC 118 ms
56,104 KB
testcase_06 AC 120 ms
56,228 KB
testcase_07 WA -
testcase_08 AC 122 ms
55,780 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 119 ms
55,532 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 116 ms
56,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package me.yukicoder.lv1;

import java.util.Scanner;

public class No0485 {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int A = sc.nextInt();
			int B = sc.nextInt();

			if (A % B == 0) {
				System.out.println("YES");
			} else {
				System.out.println("NO");
			}
		}
	}
}
0