結果

問題 No.481 1から10
ユーザー HaleakalaHaleakala
提出日時 2018-02-18 23:11:00
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 294 bytes
コンパイル時間 4,552 ms
コンパイル使用メモリ 72,380 KB
実行使用メモリ 56,192 KB
最終ジャッジ日時 2023-09-18 07:59:26
合計ジャッジ時間 6,622 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,820 KB
testcase_01 AC 120 ms
55,804 KB
testcase_02 AC 119 ms
56,012 KB
testcase_03 AC 117 ms
55,652 KB
testcase_04 AC 116 ms
55,620 KB
testcase_05 AC 119 ms
56,072 KB
testcase_06 AC 119 ms
55,784 KB
testcase_07 AC 118 ms
55,868 KB
testcase_08 AC 117 ms
55,796 KB
testcase_09 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Answer {
	public static void main(String str[]) {
        Scanner sc = new Scanner(System.in);

        for(int i=1; i<=10; i++) {
        	if(i != Integer.valueOf(sc.next())) {
        		System.out.println(i);
        		return;
        	}
        }
	}
}
0