結果

問題 No.244 ★1のグラフの問題
ユーザー bellbell
提出日時 2021-02-14 00:44:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 203 bytes
コンパイル時間 2,329 ms
コンパイル使用メモリ 71,092 KB
実行使用メモリ 57,812 KB
最終ジャッジ日時 2023-09-28 10:13:53
合計ジャッジ時間 4,145 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
56,416 KB
testcase_01 AC 110 ms
56,128 KB
testcase_02 AC 110 ms
57,812 KB
testcase_03 AC 108 ms
56,128 KB
testcase_04 AC 113 ms
56,440 KB
testcase_05 AC 110 ms
56,544 KB
testcase_06 AC 110 ms
55,812 KB
testcase_07 AC 114 ms
56,616 KB
testcase_08 AC 110 ms
56,284 KB
testcase_09 AC 113 ms
56,576 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