結果

問題 No.730 アルファベットパネル
ユーザー heyanxxheyanxx
提出日時 2019-07-05 09:39:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 764 bytes
コンパイル時間 3,489 ms
コンパイル使用メモリ 75,804 KB
実行使用メモリ 53,632 KB
最終ジャッジ日時 2023-10-20 00:15:42
合計ジャッジ時間 4,936 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
53,616 KB
testcase_01 AC 55 ms
53,620 KB
testcase_02 AC 55 ms
53,624 KB
testcase_03 AC 56 ms
52,540 KB
testcase_04 AC 55 ms
53,616 KB
testcase_05 AC 57 ms
53,608 KB
testcase_06 AC 56 ms
53,612 KB
testcase_07 AC 56 ms
53,616 KB
testcase_08 AC 55 ms
53,556 KB
testcase_09 AC 56 ms
53,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package test.demo;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Yukicoder730 {
	public static void main(String[]args) throws IOException {
		List<String>list=new ArrayList<String>();
		list=Arrays.asList(input());
		Set set=new HashSet(list);
		if(set.size()==list.size()) {
			System.out.println("YES");
		}else {
			System.out.println("NO");
		}
		
		
		
	}
	
	
	public static  String[] input() throws IOException {
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		
		String str=br.readLine();
		String[]str2=str.split("");
		
		return str2;
	}
}
0