結果

問題 No.244 ★1のグラフの問題
ユーザー shinwisteriashinwisteria
提出日時 2018-02-21 22:31:44
言語 Java21
(openjdk 21)
結果
AC  
実行時間 144 ms / 2,000 ms
コード長 215 bytes
コンパイル時間 3,552 ms
コンパイル使用メモリ 74,284 KB
実行使用メモリ 57,436 KB
最終ジャッジ日時 2023-10-19 23:54:53
合計ジャッジ時間 5,745 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
55,052 KB
testcase_01 AC 141 ms
57,408 KB
testcase_02 AC 139 ms
57,424 KB
testcase_03 AC 142 ms
57,148 KB
testcase_04 AC 139 ms
57,408 KB
testcase_05 AC 140 ms
57,136 KB
testcase_06 AC 139 ms
57,188 KB
testcase_07 AC 144 ms
57,108 KB
testcase_08 AC 140 ms
57,176 KB
testcase_09 AC 138 ms
57,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con244 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		s.close();
		System.out.println(N-1);

	}

}
0