結果

問題 No.244 ★1のグラフの問題
ユーザー kusagame12kusagame12
提出日時 2023-11-09 15:17:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 141 ms / 2,000 ms
コード長 204 bytes
コンパイル時間 2,652 ms
コンパイル使用メモリ 73,912 KB
実行使用メモリ 58,104 KB
最終ジャッジ日時 2023-11-09 15:17:44
合計ジャッジ時間 5,037 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
57,968 KB
testcase_01 AC 129 ms
57,984 KB
testcase_02 AC 131 ms
57,732 KB
testcase_03 AC 129 ms
58,104 KB
testcase_04 AC 141 ms
57,972 KB
testcase_05 AC 129 ms
57,972 KB
testcase_06 AC 127 ms
57,860 KB
testcase_07 AC 128 ms
57,840 KB
testcase_08 AC 129 ms
57,700 KB
testcase_09 AC 128 ms
57,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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

        Scanner sc = new Scanner(System.in);

        System.out.println(sc.nextInt() - 1);
    }
}
0