結果

問題 No.244 ★1のグラフの問題
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-29 00:14:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 286 bytes
コンパイル時間 2,712 ms
コンパイル使用メモリ 73,052 KB
実行使用メモリ 37,144 KB
最終ジャッジ日時 2024-05-01 21:38:16
合計ジャッジ時間 3,650 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
37,144 KB
testcase_01 AC 43 ms
37,144 KB
testcase_02 AC 43 ms
36,840 KB
testcase_03 AC 43 ms
37,032 KB
testcase_04 AC 43 ms
36,412 KB
testcase_05 AC 43 ms
36,412 KB
testcase_06 AC 44 ms
36,628 KB
testcase_07 AC 44 ms
37,040 KB
testcase_08 AC 43 ms
37,056 KB
testcase_09 AC 41 ms
36,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class No244 {
	public static void main(String[] args) throws IOException{
		System.out.println(Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine())-1);
	}
}
0