結果

問題 No.558 575検出するやつ
ユーザー fal_rndfal_rnd
提出日時 2017-08-25 22:21:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 477 bytes
コンパイル時間 1,981 ms
コンパイル使用メモリ 88,788 KB
実行使用メモリ 54,144 KB
最終ジャッジ日時 2024-04-23 15:25:20
合計ジャッジ時間 4,793 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 101 ms
53,024 KB
testcase_01 AC 99 ms
53,060 KB
testcase_02 AC 108 ms
52,600 KB
testcase_03 AC 107 ms
53,844 KB
testcase_04 AC 105 ms
53,840 KB
testcase_05 AC 93 ms
52,752 KB
testcase_06 AC 111 ms
52,648 KB
testcase_07 AC 98 ms
52,896 KB
testcase_08 AC 100 ms
53,040 KB
testcase_09 AC 100 ms
52,324 KB
testcase_10 AC 107 ms
53,852 KB
testcase_11 AC 103 ms
53,636 KB
testcase_12 AC 101 ms
52,844 KB
testcase_13 AC 115 ms
53,840 KB
testcase_14 AC 97 ms
52,724 KB
testcase_15 AC 107 ms
54,144 KB
testcase_16 AC 105 ms
53,876 KB
testcase_17 AC 104 ms
53,952 KB
testcase_18 AC 112 ms
53,720 KB
testcase_19 AC 106 ms
54,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Main{
	static IntStream REPS(int v){return IntStream.range(0,v);}
	static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);}
	static IntStream INS(int n) {return REPS(n).map(i->getInt());}
	static Scanner s=new Scanner(System.in);
	static int getInt(){return Integer.parseInt(s.next());}

	public static void main(String[]$){
		System.out.println(s.next().contains("575")?"YES":"NO");
	}
}
0