結果

問題 No.558 575検出するやつ
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-08-26 01:45:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 2,349 ms
コンパイル使用メモリ 74,240 KB
実行使用メモリ 41,532 KB
最終ジャッジ日時 2024-04-23 15:57:11
合計ジャッジ時間 5,259 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
41,532 KB
testcase_01 AC 108 ms
40,292 KB
testcase_02 AC 121 ms
41,444 KB
testcase_03 AC 124 ms
41,352 KB
testcase_04 AC 108 ms
40,328 KB
testcase_05 AC 124 ms
41,400 KB
testcase_06 AC 124 ms
41,296 KB
testcase_07 AC 121 ms
41,000 KB
testcase_08 AC 123 ms
41,532 KB
testcase_09 AC 122 ms
41,192 KB
testcase_10 AC 126 ms
41,404 KB
testcase_11 AC 124 ms
41,080 KB
testcase_12 AC 113 ms
40,684 KB
testcase_13 AC 114 ms
41,000 KB
testcase_14 AC 123 ms
41,348 KB
testcase_15 AC 110 ms
40,572 KB
testcase_16 AC 109 ms
40,136 KB
testcase_17 AC 107 ms
40,216 KB
testcase_18 AC 123 ms
41,268 KB
testcase_19 AC 122 ms
41,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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