結果

問題 No.481 1から10
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-13 16:41:43
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 237 bytes
コンパイル時間 2,237 ms
コンパイル使用メモリ 71,508 KB
実行使用メモリ 57,984 KB
最終ジャッジ日時 2023-10-11 11:33:11
合計ジャッジ時間 4,244 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,836 KB
testcase_01 AC 127 ms
55,908 KB
testcase_02 AC 123 ms
55,856 KB
testcase_03 AC 121 ms
56,660 KB
testcase_04 AC 125 ms
55,844 KB
testcase_05 AC 124 ms
56,128 KB
testcase_06 AC 123 ms
55,972 KB
testcase_07 AC 123 ms
57,984 KB
testcase_08 AC 122 ms
56,084 KB
testcase_09 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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