結果

問題 No.244 ★1のグラフの問題
ユーザー tentententen
提出日時 2020-11-11 09:00:44
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 2,000 ms
コード長 203 bytes
コンパイル時間 1,802 ms
コンパイル使用メモリ 71,972 KB
実行使用メモリ 56,276 KB
最終ジャッジ日時 2023-09-30 00:22:18
合計ジャッジ時間 3,884 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,672 KB
testcase_01 AC 118 ms
56,036 KB
testcase_02 AC 115 ms
56,036 KB
testcase_03 AC 116 ms
55,828 KB
testcase_04 AC 116 ms
55,548 KB
testcase_05 AC 115 ms
56,008 KB
testcase_06 AC 116 ms
56,244 KB
testcase_07 AC 116 ms
55,736 KB
testcase_08 AC 115 ms
56,276 KB
testcase_09 AC 115 ms
55,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        System.out.println(n - 1);
    }
}
0