結果

問題 No.558 575検出するやつ
ユーザー aikon_marimoaikon_marimo
提出日時 2018-02-03 22:15:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 2,827 ms
コンパイル使用メモリ 71,380 KB
実行使用メモリ 56,188 KB
最終ジャッジ日時 2023-09-02 21:36:54
合計ジャッジ時間 6,647 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
56,180 KB
testcase_01 AC 116 ms
55,256 KB
testcase_02 AC 117 ms
55,936 KB
testcase_03 AC 119 ms
55,756 KB
testcase_04 AC 124 ms
55,764 KB
testcase_05 AC 118 ms
55,640 KB
testcase_06 AC 119 ms
55,776 KB
testcase_07 AC 118 ms
55,276 KB
testcase_08 AC 119 ms
55,504 KB
testcase_09 AC 121 ms
55,396 KB
testcase_10 AC 118 ms
55,720 KB
testcase_11 AC 117 ms
56,188 KB
testcase_12 AC 115 ms
55,880 KB
testcase_13 AC 119 ms
55,588 KB
testcase_14 AC 117 ms
55,364 KB
testcase_15 AC 115 ms
55,756 KB
testcase_16 AC 117 ms
55,996 KB
testcase_17 AC 117 ms
55,584 KB
testcase_18 AC 121 ms
54,160 KB
testcase_19 AC 116 ms
55,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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