結果

問題 No.244 ★1のグラフの問題
ユーザー mastersatoshimastersatoshi
提出日時 2015-07-17 22:21:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 344 bytes
コンパイル時間 2,112 ms
コンパイル使用メモリ 73,984 KB
実行使用メモリ 50,472 KB
最終ジャッジ日時 2024-04-15 02:49:56
合計ジャッジ時間 2,763 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
50,344 KB
testcase_01 AC 48 ms
50,000 KB
testcase_02 AC 49 ms
50,472 KB
testcase_03 AC 49 ms
50,256 KB
testcase_04 AC 49 ms
50,284 KB
testcase_05 AC 48 ms
49,932 KB
testcase_06 AC 49 ms
50,400 KB
testcase_07 AC 49 ms
50,220 KB
testcase_08 AC 50 ms
50,200 KB
testcase_09 AC 49 ms
50,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Main {

    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int grade = Integer.parseInt(br.readLine());
        
        System.out.println(grade - 1);

    }
}
0