結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2018-02-11 19:00:22 |
言語 | Java (openjdk 23) |
結果 |
RE
|
実行時間 | - |
コード長 | 551 bytes |
コンパイル時間 | 3,825 ms |
コンパイル使用メモリ | 74,688 KB |
実行使用メモリ | 50,284 KB |
最終ジャッジ日時 | 2024-11-17 11:50:00 |
合計ジャッジ時間 | 4,953 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 RE * 1 |
ソースコード
package yukiCoder; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No00481 { public static void main(String[] args) { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String[] input = new String[9]; try { input = bufferedReader.readLine().split(" "); for(int i = 1; i < 11 ; i++) { if (Integer.parseInt(input[i-1]) != i) { System.out.println(i); break; } } } catch (IOException e) { e.printStackTrace(); } } }