結果

問題 No.494 yukicoder
ユーザー GchansanjouGchansanjou
提出日時 2018-02-14 22:56:52
言語 Java21
(openjdk 21)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 591 bytes
コンパイル時間 5,121 ms
コンパイル使用メモリ 71,536 KB
実行使用メモリ 49,352 KB
最終ジャッジ日時 2023-08-24 22:54:13
合計ジャッジ時間 6,339 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,352 KB
testcase_01 AC 43 ms
49,324 KB
testcase_02 AC 43 ms
49,288 KB
testcase_03 AC 43 ms
49,240 KB
testcase_04 AC 45 ms
49,156 KB
testcase_05 AC 44 ms
49,044 KB
testcase_06 AC 42 ms
49,212 KB
testcase_07 AC 42 ms
49,156 KB
testcase_08 AC 43 ms
49,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukiCoder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00494 {

	public static void main(String[] args) {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		final String YUKICODER = "yukicoder";
		String input;
		try {
			input = bufferedReader.readLine();
			int index = input.indexOf("?");
			System.out.println(YUKICODER.charAt(index));
		} catch (NumberFormatException | IOException e) {
			// TODO 自動生成された catch ブロック
			e.printStackTrace();
		}
	}

}
0