結果

問題 No.244 ★1のグラフの問題
ユーザー h_tyokinuhatah_tyokinuhata
提出日時 2016-01-19 19:09:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 2,370 ms
コンパイル使用メモリ 73,960 KB
実行使用メモリ 54,304 KB
最終ジャッジ日時 2024-04-15 03:10:37
合計ジャッジ時間 4,129 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 145 ms
54,276 KB
testcase_01 AC 139 ms
54,188 KB
testcase_02 AC 138 ms
54,040 KB
testcase_03 AC 140 ms
54,092 KB
testcase_04 AC 139 ms
54,304 KB
testcase_05 AC 139 ms
54,168 KB
testcase_06 AC 141 ms
54,244 KB
testcase_07 AC 137 ms
53,992 KB
testcase_08 AC 144 ms
54,184 KB
testcase_09 AC 139 ms
53,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int N = sc.nextInt();

		System.out.println(N - 1);
	}
}
0