結果

問題 No.558 575検出するやつ
ユーザー shinwisteriashinwisteria
提出日時 2018-02-15 23:12:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 2,882 ms
コンパイル使用メモリ 71,680 KB
実行使用メモリ 56,632 KB
最終ジャッジ日時 2023-08-28 16:33:37
合計ジャッジ時間 6,251 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
56,020 KB
testcase_01 AC 114 ms
55,548 KB
testcase_02 AC 115 ms
55,844 KB
testcase_03 AC 114 ms
55,760 KB
testcase_04 AC 114 ms
55,844 KB
testcase_05 AC 115 ms
56,204 KB
testcase_06 AC 116 ms
56,012 KB
testcase_07 AC 116 ms
56,632 KB
testcase_08 AC 115 ms
55,476 KB
testcase_09 AC 115 ms
56,136 KB
testcase_10 AC 114 ms
55,796 KB
testcase_11 AC 115 ms
55,752 KB
testcase_12 AC 115 ms
55,760 KB
testcase_13 AC 115 ms
55,596 KB
testcase_14 AC 113 ms
55,956 KB
testcase_15 AC 113 ms
55,592 KB
testcase_16 AC 114 ms
55,936 KB
testcase_17 AC 115 ms
56,000 KB
testcase_18 AC 114 ms
55,848 KB
testcase_19 AC 114 ms
56,492 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con558 {

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

	}

}
0