結果

問題 No.244 ★1のグラフの問題
ユーザー jp_stejp_ste
提出日時 2016-03-02 19:28:26
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 2,163 ms
コンパイル使用メモリ 74,448 KB
実行使用メモリ 54,396 KB
最終ジャッジ日時 2024-04-15 03:11:52
合計ジャッジ時間 3,437 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
54,076 KB
testcase_01 AC 107 ms
52,740 KB
testcase_02 AC 119 ms
54,176 KB
testcase_03 AC 109 ms
53,052 KB
testcase_04 AC 118 ms
54,396 KB
testcase_05 AC 116 ms
54,120 KB
testcase_06 AC 104 ms
52,908 KB
testcase_07 AC 121 ms
54,144 KB
testcase_08 AC 123 ms
54,004 KB
testcase_09 AC 124 ms
54,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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