結果

問題 No.494 yukicoder
ユーザー kazapyon27kazapyon27
提出日時 2017-07-06 01:31:44
言語 Java21
(openjdk 21)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 495 bytes
コンパイル時間 3,287 ms
コンパイル使用メモリ 76,172 KB
実行使用メモリ 37,148 KB
最終ジャッジ日時 2024-04-15 18:28:37
合計ジャッジ時間 4,379 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
37,012 KB
testcase_01 AC 48 ms
37,136 KB
testcase_02 AC 47 ms
37,148 KB
testcase_03 AC 49 ms
37,096 KB
testcase_04 AC 47 ms
37,012 KB
testcase_05 AC 49 ms
37,100 KB
testcase_06 AC 50 ms
37,012 KB
testcase_07 AC 48 ms
37,020 KB
testcase_08 AC 50 ms
37,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

/*No.494 yukicoder*/
import java.io.*;
public class No494 {
	public static void main(String[] args) {
		try(BufferedReader input =new BufferedReader(new InputStreamReader(System.in))){
			String Wrong =input.readLine();
			String Correct="yukicoder";
			for(int i=0;i<Correct.length();i++){
				if(Wrong.substring(i, i+1).equals(Correct.substring(i, i+1))==false){
					System.out.println(Correct.substring(i, i+1));
					break;
				}
			}
		}catch(Exception e){
			e.printStackTrace();
		}
	}
}
0