結果

問題 No.558 575検出するやつ
ユーザー samplelpmassamplelpmas
提出日時 2017-09-02 07:33:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 243 bytes
コンパイル時間 3,259 ms
コンパイル使用メモリ 74,172 KB
実行使用メモリ 41,496 KB
最終ジャッジ日時 2024-04-24 10:42:00
合計ジャッジ時間 5,662 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
40,940 KB
testcase_01 AC 114 ms
40,048 KB
testcase_02 AC 100 ms
41,004 KB
testcase_03 AC 96 ms
41,204 KB
testcase_04 AC 99 ms
41,276 KB
testcase_05 AC 97 ms
41,152 KB
testcase_06 AC 111 ms
40,928 KB
testcase_07 AC 117 ms
41,244 KB
testcase_08 AC 106 ms
41,088 KB
testcase_09 AC 111 ms
41,496 KB
testcase_10 AC 107 ms
40,896 KB
testcase_11 AC 100 ms
41,080 KB
testcase_12 AC 105 ms
41,288 KB
testcase_13 AC 111 ms
40,720 KB
testcase_14 AC 114 ms
41,320 KB
testcase_15 AC 112 ms
41,116 KB
testcase_16 AC 110 ms
41,056 KB
testcase_17 AC 101 ms
41,020 KB
testcase_18 AC 118 ms
41,276 KB
testcase_19 AC 108 ms
41,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        String S = sc.next();

        System.out.println(S.contains("575") ? "YES" : "NO");

    }

}
0