結果

問題 No.244 ★1のグラフの問題
ユーザー face4face4
提出日時 2018-04-16 21:39:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 1,958 ms
コンパイル使用メモリ 71,112 KB
実行使用メモリ 49,656 KB
最終ジャッジ日時 2023-09-09 10:57:46
合計ジャッジ時間 3,063 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
47,196 KB
testcase_01 AC 42 ms
49,268 KB
testcase_02 AC 41 ms
49,372 KB
testcase_03 AC 41 ms
49,004 KB
testcase_04 AC 42 ms
49,332 KB
testcase_05 AC 41 ms
49,176 KB
testcase_06 AC 41 ms
49,136 KB
testcase_07 AC 41 ms
49,656 KB
testcase_08 AC 42 ms
49,052 KB
testcase_09 AC 42 ms
49,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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