結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
GodNegoto
|
| 提出日時 | 2019-11-01 15:18:08 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 349 bytes |
| コンパイル時間 | 4,416 ms |
| コンパイル使用メモリ | 74,892 KB |
| 実行使用メモリ | 41,480 KB |
| 最終ジャッジ日時 | 2024-09-14 22:42:25 |
| 合計ジャッジ時間 | 5,804 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 1 |
ソースコード
import java.util.*;
public class sample6 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
for(int i=0; i < 9; i++) {
list.add(sc.nextInt());
}
for(int i=0; i<9; i++) {
if(i+1 == list.get(i)) {
}
else {
System.out.println(i+1);
break;
}
}
}
}
GodNegoto