結果

問題 No.481 1から10
ユーザー cande398cande398
提出日時 2017-10-08 00:11:40
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 2,101 ms
コンパイル使用メモリ 74,532 KB
実行使用メモリ 56,232 KB
最終ジャッジ日時 2024-04-28 12:55:51
合計ジャッジ時間 4,198 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
41,284 KB
testcase_01 AC 121 ms
40,252 KB
testcase_02 AC 137 ms
41,380 KB
testcase_03 AC 137 ms
41,264 KB
testcase_04 AC 142 ms
41,240 KB
testcase_05 AC 136 ms
41,228 KB
testcase_06 AC 134 ms
41,396 KB
testcase_07 AC 137 ms
41,288 KB
testcase_08 AC 131 ms
41,104 KB
testcase_09 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    for(int i=1;i<11;i++){
      if(sc.nextInt() != i){
        System.out.println(i);
        break;
      }
    }
  }
}
0