結果

問題 No.558 575検出するやつ
ユーザー RyanakRyanak
提出日時 2017-09-07 21:33:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 290 bytes
コンパイル時間 1,876 ms
コンパイル使用メモリ 74,372 KB
実行使用メモリ 41,168 KB
最終ジャッジ日時 2024-04-25 01:45:16
合計ジャッジ時間 4,867 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
41,168 KB
testcase_01 AC 108 ms
39,732 KB
testcase_02 AC 110 ms
40,912 KB
testcase_03 AC 108 ms
39,572 KB
testcase_04 AC 111 ms
41,128 KB
testcase_05 AC 97 ms
40,316 KB
testcase_06 AC 110 ms
40,156 KB
testcase_07 AC 108 ms
40,304 KB
testcase_08 AC 110 ms
40,952 KB
testcase_09 AC 108 ms
40,956 KB
testcase_10 AC 103 ms
39,380 KB
testcase_11 AC 106 ms
40,984 KB
testcase_12 AC 107 ms
40,900 KB
testcase_13 AC 106 ms
41,040 KB
testcase_14 AC 113 ms
40,868 KB
testcase_15 AC 112 ms
40,860 KB
testcase_16 AC 108 ms
40,860 KB
testcase_17 AC 109 ms
41,052 KB
testcase_18 AC 109 ms
39,572 KB
testcase_19 AC 108 ms
39,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        if (s.indexOf("575")!=-1)
            System.out.println("YES");
        else System.out.println("NO");
    }
}
0