結果
問題 |
No.494 yukicoder
|
ユーザー |
![]() |
提出日時 | 2017-07-06 01:31:44 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 495 bytes |
コンパイル時間 | 3,243 ms |
コンパイル使用メモリ | 74,432 KB |
実行使用メモリ | 37,152 KB |
最終ジャッジ日時 | 2024-10-05 20:23:30 |
合計ジャッジ時間 | 3,629 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
/*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(); } } }