結果

問題 No.244 ★1のグラフの問題
ユーザー Mcpu3Mcpu3
提出日時 2018-04-14 23:05:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 1,876 ms
コンパイル使用メモリ 70,924 KB
実行使用メモリ 56,160 KB
最終ジャッジ日時 2023-09-09 05:29:38
合計ジャッジ時間 3,939 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,684 KB
testcase_01 AC 123 ms
55,808 KB
testcase_02 AC 123 ms
55,756 KB
testcase_03 AC 124 ms
55,968 KB
testcase_04 AC 123 ms
55,756 KB
testcase_05 AC 123 ms
55,740 KB
testcase_06 AC 123 ms
55,712 KB
testcase_07 AC 122 ms
55,872 KB
testcase_08 AC 122 ms
56,136 KB
testcase_09 AC 122 ms
56,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class no244{
	public static void main(String[] args) {
		Scanner stdIn=new Scanner(System.in);
		short n=stdIn.nextShort();
		System.out.println(n-1);
	}
}
0