結果

問題 No.244 ★1のグラフの問題
ユーザー koukonkokoukonko
提出日時 2015-12-19 17:27:37
言語 Java21
(openjdk 21)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 2,014 ms
コンパイル使用メモリ 74,768 KB
実行使用メモリ 50,364 KB
最終ジャッジ日時 2024-04-15 03:08:38
合計ジャッジ時間 2,756 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
50,260 KB
testcase_01 AC 51 ms
50,272 KB
testcase_02 AC 49 ms
50,256 KB
testcase_03 AC 51 ms
50,252 KB
testcase_04 AC 51 ms
50,364 KB
testcase_05 AC 50 ms
50,248 KB
testcase_06 AC 50 ms
50,268 KB
testcase_07 AC 50 ms
50,164 KB
testcase_08 AC 50 ms
50,068 KB
testcase_09 AC 51 ms
50,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader read = new BufferedReader(new InputStreamReader(System.in));

		try {
			System.out.println(Integer.parseInt(read.readLine()) - 1);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
0