結果

問題 No.558 575検出するやつ
ユーザー youthfuldays072youthfuldays072
提出日時 2018-06-22 17:47:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 327 bytes
コンパイル時間 2,289 ms
コンパイル使用メモリ 71,216 KB
実行使用メモリ 56,224 KB
最終ジャッジ日時 2023-09-13 08:01:10
合計ジャッジ時間 5,267 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
56,224 KB
testcase_01 AC 122 ms
55,752 KB
testcase_02 AC 118 ms
55,672 KB
testcase_03 AC 117 ms
55,840 KB
testcase_04 AC 118 ms
55,428 KB
testcase_05 AC 119 ms
56,028 KB
testcase_06 AC 117 ms
55,788 KB
testcase_07 AC 119 ms
56,044 KB
testcase_08 AC 119 ms
55,688 KB
testcase_09 AC 118 ms
56,032 KB
testcase_10 AC 117 ms
55,704 KB
testcase_11 AC 117 ms
55,476 KB
testcase_12 AC 116 ms
53,652 KB
testcase_13 AC 118 ms
55,636 KB
testcase_14 AC 119 ms
55,884 KB
testcase_15 AC 119 ms
55,956 KB
testcase_16 AC 119 ms
55,704 KB
testcase_17 AC 118 ms
56,088 KB
testcase_18 AC 117 ms
55,628 KB
testcase_19 AC 117 ms
55,936 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Main main=new Main();
		main.run();
	}

	void run() {

		Scanner sc=new Scanner(System.in);

		String str=sc.next();

		if(str.matches(".*575.*")) {
			System.out.println("YES");
		}else {
			System.out.println("NO");
		}
		

		
	}
}


0