提出 #951302


ソースコード 拡げる

import java.util.Scanner;
class Main {
	public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int M = sc.nextInt();
	int D = sc.nextInt();
	int amari = M % D;
	
	if ( amari == 0 ) {
		System.out.println("YES");
		
	} else {
		
		System.out.println("NO");
		
	}
	}
	
}

提出情報

提出日時
問題 A - 12月6日
ユーザ nobutan1017
言語 Java (OpenJDK 1.7.0)
得点 100
コード長 311 Byte
結果 AC
実行時間 223 ms
メモリ 13936 KiB

ジャッジ結果

セット名 All
得点 / 配点 100 / 100
結果
AC × 33
セット名 テストケース
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 10_rand_00.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 10_rand_07.txt, 10_rand_08.txt, 10_rand_09.txt, 10_rand_10.txt, 10_rand_11.txt, 10_rand_12.txt, 10_rand_13.txt, 10_rand_14.txt, 10_rand_15.txt, 10_rand_16.txt, 10_rand_17.txt, 10_rand_18.txt, 10_rand_19.txt, 10_rand_20.txt, 10_rand_21.txt, 10_rand_22.txt, 10_rand_23.txt, 10_rand_24.txt, 10_rand_25.txt, 10_rand_26.txt, 10_rand_27.txt, 10_rand_28.txt, 10_rand_29.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 208 ms 13832 KiB
00_sample_01.txt AC 208 ms 13880 KiB
00_sample_02.txt AC 209 ms 13904 KiB
10_rand_00.txt AC 207 ms 13820 KiB
10_rand_01.txt AC 210 ms 13800 KiB
10_rand_02.txt AC 209 ms 13812 KiB
10_rand_03.txt AC 207 ms 13828 KiB
10_rand_04.txt AC 210 ms 13932 KiB
10_rand_05.txt AC 208 ms 13924 KiB
10_rand_06.txt AC 206 ms 13908 KiB
10_rand_07.txt AC 210 ms 13820 KiB
10_rand_08.txt AC 208 ms 13868 KiB
10_rand_09.txt AC 210 ms 13896 KiB
10_rand_10.txt AC 211 ms 13792 KiB
10_rand_11.txt AC 211 ms 13872 KiB
10_rand_12.txt AC 208 ms 13888 KiB
10_rand_13.txt AC 209 ms 13840 KiB
10_rand_14.txt AC 210 ms 13820 KiB
10_rand_15.txt AC 215 ms 13800 KiB
10_rand_16.txt AC 210 ms 13860 KiB
10_rand_17.txt AC 208 ms 13892 KiB
10_rand_18.txt AC 211 ms 13840 KiB
10_rand_19.txt AC 213 ms 13884 KiB
10_rand_20.txt AC 213 ms 13868 KiB
10_rand_21.txt AC 213 ms 13936 KiB
10_rand_22.txt AC 211 ms 13768 KiB
10_rand_23.txt AC 208 ms 13872 KiB
10_rand_24.txt AC 223 ms 13824 KiB
10_rand_25.txt AC 215 ms 13856 KiB
10_rand_26.txt AC 209 ms 13840 KiB
10_rand_27.txt AC 210 ms 13864 KiB
10_rand_28.txt AC 212 ms 13816 KiB
10_rand_29.txt AC 212 ms 13896 KiB