結果

問題 No.494 yukicoder
ユーザー rabirabi
提出日時 2019-06-25 13:06:37
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 388 bytes
コンパイル時間 5,800 ms
コンパイル使用メモリ 71,664 KB
実行使用メモリ 49,424 KB
最終ジャッジ日時 2023-09-05 03:03:16
合計ジャッジ時間 5,784 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,136 KB
testcase_01 AC 42 ms
49,156 KB
testcase_02 AC 42 ms
49,156 KB
testcase_03 AC 43 ms
49,296 KB
testcase_04 AC 43 ms
49,176 KB
testcase_05 AC 44 ms
49,424 KB
testcase_06 AC 43 ms
49,148 KB
testcase_07 AC 43 ms
49,052 KB
testcase_08 AC 43 ms
49,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Tester {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String base = "yukicoder";
		String str = br.readLine();
		int num = str.indexOf('?');
		System.out.println(base.charAt(num));
	}

}
0