結果

問題 No.494 yukicoder
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-03-29 01:50:11
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 381 bytes
コンパイル時間 2,093 ms
コンパイル使用メモリ 72,028 KB
実行使用メモリ 55,856 KB
最終ジャッジ日時 2023-09-20 18:40:11
合計ジャッジ時間 3,897 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,828 KB
testcase_01 AC 120 ms
55,328 KB
testcase_02 AC 120 ms
55,856 KB
testcase_03 AC 120 ms
55,536 KB
testcase_04 AC 120 ms
55,320 KB
testcase_05 AC 122 ms
55,636 KB
testcase_06 AC 123 ms
55,252 KB
testcase_07 AC 122 ms
55,372 KB
testcase_08 AC 126 ms
55,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String T = "yukicoder";
        for(int i=0; i<S.length(); i++){
            if(S.charAt(i)=='?'){
                System.out.println(T.charAt(i));
                System.exit(0);
            }
        }
    }
}
0