結果

問題 No.494 yukicoder
ユーザー shinwisteriashinwisteria
提出日時 2017-03-24 22:46:28
言語 Java19
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 321 bytes
コンパイル時間 3,127 ms
コンパイル使用メモリ 72,012 KB
実行使用メモリ 56,328 KB
最終ジャッジ日時 2023-09-20 01:53:12
合計ジャッジ時間 4,904 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,956 KB
testcase_01 AC 119 ms
56,284 KB
testcase_02 AC 118 ms
55,972 KB
testcase_03 AC 115 ms
56,204 KB
testcase_04 AC 117 ms
55,816 KB
testcase_05 AC 119 ms
56,192 KB
testcase_06 AC 118 ms
55,696 KB
testcase_07 AC 119 ms
56,328 KB
testcase_08 AC 114 ms
55,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class YukiCoder {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		StringBuilder S = new StringBuilder(s.nextLine());
		s.close();
		StringBuilder str = new StringBuilder("yukicoder");
		int i = S.indexOf("?");
		System.out.println(str.charAt(i));

	}
}
0