結果

問題 No.244 ★1のグラフの問題
ユーザー matsuyoshi30matsuyoshi30
提出日時 2017-01-30 23:11:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 305 bytes
コンパイル時間 2,014 ms
コンパイル使用メモリ 75,008 KB
実行使用メモリ 54,164 KB
最終ジャッジ日時 2024-04-15 03:22:25
合計ジャッジ時間 3,637 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
53,960 KB
testcase_01 AC 106 ms
53,900 KB
testcase_02 AC 118 ms
53,908 KB
testcase_03 AC 119 ms
54,040 KB
testcase_04 AC 121 ms
53,892 KB
testcase_05 AC 105 ms
52,956 KB
testcase_06 AC 118 ms
54,164 KB
testcase_07 AC 118 ms
54,164 KB
testcase_08 AC 119 ms
54,128 KB
testcase_09 AC 118 ms
54,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();

        System.out.println(n-1);

        in.close();
    }
}
0