結果

問題 No.494 yukicoder
ユーザー nomhiro1204nomhiro1204
提出日時 2017-04-04 21:01:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 394 bytes
コンパイル時間 1,969 ms
コンパイル使用メモリ 71,852 KB
実行使用メモリ 57,636 KB
最終ジャッジ日時 2023-09-22 17:15:34
合計ジャッジ時間 3,770 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,388 KB
testcase_01 AC 117 ms
57,636 KB
testcase_02 AC 116 ms
55,768 KB
testcase_03 AC 118 ms
55,764 KB
testcase_04 AC 118 ms
55,572 KB
testcase_05 AC 118 ms
56,152 KB
testcase_06 AC 119 ms
55,972 KB
testcase_07 AC 122 ms
55,568 KB
testcase_08 AC 118 ms
56,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
 
public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        String[] answer = {"y", "u", "k", "i", "c", "o", "d", "e", "r"};
        String input = sc.next();
		for (int i = 0 ; i < 9 ; i++) {
			if (input.indexOf(answer[i]) == -1) {
				System.out.println(answer[i]);
				break;
			}
		}
    }
}
0