結果

問題 No.244 ★1のグラフの問題
ユーザー SuunnSuunn
提出日時 2018-11-22 09:16:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 1,886 ms
コンパイル使用メモリ 72,248 KB
実行使用メモリ 56,296 KB
最終ジャッジ日時 2023-08-26 02:48:47
合計ジャッジ時間 4,005 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,780 KB
testcase_01 AC 119 ms
55,688 KB
testcase_02 AC 120 ms
55,684 KB
testcase_03 AC 122 ms
55,948 KB
testcase_04 AC 121 ms
55,396 KB
testcase_05 AC 122 ms
56,296 KB
testcase_06 AC 122 ms
55,896 KB
testcase_07 AC 122 ms
56,216 KB
testcase_08 AC 123 ms
56,084 KB
testcase_09 AC 121 ms
56,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
	

public class Main{
	
	
	public static void main(String args[])throws Exception{
		Scanner sc = new Scanner(System.in);

		int N = sc.nextInt();
		System.out.println(N-1);
	}
	

}
0