結果

問題 No.244 ★1のグラフの問題
ユーザー koukonkokoukonko
提出日時 2015-12-19 17:27:37
言語 Java
(openjdk 23)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 1,961 ms
コンパイル使用メモリ 72,656 KB
実行使用メモリ 37,032 KB
最終ジャッジ日時 2024-10-04 12:36:59
合計ジャッジ時間 2,834 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

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