結果

問題 No.494 yukicoder
ユーザー gu_21816943gu_21816943
提出日時 2017-06-25 15:50:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 2,048 ms
コンパイル使用メモリ 74,084 KB
実行使用メモリ 54,256 KB
最終ジャッジ日時 2024-04-15 01:25:39
合計ジャッジ時間 3,542 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
54,256 KB
testcase_01 AC 123 ms
54,160 KB
testcase_02 AC 108 ms
53,148 KB
testcase_03 AC 108 ms
53,016 KB
testcase_04 AC 119 ms
54,012 KB
testcase_05 AC 125 ms
54,104 KB
testcase_06 AC 123 ms
54,124 KB
testcase_07 AC 119 ms
53,904 KB
testcase_08 AC 120 ms
54,100 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		sc.close();
		String tmp="yukicoder";

		int num=str.indexOf("?");
		System.out.println(tmp.substring(num, num+1));
	}
}
0