結果

問題 No.558 575検出するやつ
ユーザー fal_rndfal_rnd
提出日時 2017-08-25 22:21:12
言語 Java19
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 477 bytes
コンパイル時間 2,401 ms
コンパイル使用メモリ 75,888 KB
実行使用メモリ 57,432 KB
最終ジャッジ日時 2023-08-05 18:41:12
合計ジャッジ時間 5,993 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,492 KB
testcase_01 AC 122 ms
55,728 KB
testcase_02 AC 121 ms
55,668 KB
testcase_03 AC 123 ms
55,788 KB
testcase_04 AC 124 ms
55,496 KB
testcase_05 AC 126 ms
55,332 KB
testcase_06 AC 123 ms
55,412 KB
testcase_07 AC 121 ms
55,964 KB
testcase_08 AC 123 ms
55,516 KB
testcase_09 AC 122 ms
53,424 KB
testcase_10 AC 127 ms
55,328 KB
testcase_11 AC 125 ms
55,332 KB
testcase_12 AC 123 ms
55,600 KB
testcase_13 AC 122 ms
55,528 KB
testcase_14 AC 121 ms
55,676 KB
testcase_15 AC 125 ms
55,708 KB
testcase_16 AC 125 ms
57,432 KB
testcase_17 AC 121 ms
55,460 KB
testcase_18 AC 124 ms
55,756 KB
testcase_19 AC 122 ms
55,280 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