結果

問題 No.558 575検出するやつ
ユーザー tetsutetsu
提出日時 2017-08-25 22:24:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 3,489 ms
コンパイル使用メモリ 74,672 KB
実行使用メモリ 54,956 KB
最終ジャッジ日時 2024-04-23 15:30:57
合計ジャッジ時間 5,993 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
52,888 KB
testcase_01 AC 94 ms
53,148 KB
testcase_02 AC 114 ms
53,728 KB
testcase_03 AC 100 ms
54,124 KB
testcase_04 AC 118 ms
54,032 KB
testcase_05 AC 115 ms
54,036 KB
testcase_06 AC 109 ms
54,088 KB
testcase_07 AC 112 ms
53,836 KB
testcase_08 AC 104 ms
52,588 KB
testcase_09 AC 97 ms
54,956 KB
testcase_10 AC 97 ms
52,972 KB
testcase_11 AC 96 ms
53,160 KB
testcase_12 AC 108 ms
54,120 KB
testcase_13 AC 106 ms
54,196 KB
testcase_14 AC 106 ms
54,052 KB
testcase_15 AC 111 ms
53,936 KB
testcase_16 AC 113 ms
54,084 KB
testcase_17 AC 94 ms
52,680 KB
testcase_18 AC 100 ms
53,088 KB
testcase_19 AC 98 ms
52,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yuki172;

import java.util.Scanner;

public class A {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		sc.close();
		if(S.contains("575")) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}

	}

}
0