結果

問題 No.494 yukicoder
ユーザー gu_21816943
提出日時 2017-06-25 15:50:07
言語 Java
(openjdk 23)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 2,017 ms
コンパイル使用メモリ 77,624 KB
実行使用メモリ 54,216 KB
最終ジャッジ日時 2024-10-04 08:42:34
合計ジャッジ時間 3,799 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

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