結果

問題 No.244 ★1のグラフの問題
ユーザー GrenacheGrenache
提出日時 2015-07-17 22:21:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 3,537 ms
コンパイル使用メモリ 74,484 KB
実行使用メモリ 54,224 KB
最終ジャッジ日時 2024-04-15 02:49:12
合計ジャッジ時間 4,574 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
54,176 KB
testcase_01 AC 107 ms
52,872 KB
testcase_02 AC 119 ms
54,200 KB
testcase_03 AC 119 ms
53,932 KB
testcase_04 AC 106 ms
53,012 KB
testcase_05 AC 116 ms
54,180 KB
testcase_06 AC 116 ms
54,224 KB
testcase_07 AC 119 ms
53,964 KB
testcase_08 AC 117 ms
54,016 KB
testcase_09 AC 120 ms
54,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main_yukicoder244 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        System.out.println(n - 1);

        sc.close();
    }
}
0