結果

問題 No.244 ★1のグラフの問題
ユーザー rf141rf141
提出日時 2015-07-24 01:21:42
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 203 bytes
コンパイル時間 3,266 ms
コンパイル使用メモリ 74,348 KB
実行使用メモリ 54,436 KB
最終ジャッジ日時 2024-04-15 02:56:04
合計ジャッジ時間 4,456 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
53,132 KB
testcase_01 AC 120 ms
54,192 KB
testcase_02 AC 119 ms
54,436 KB
testcase_03 AC 116 ms
54,240 KB
testcase_04 AC 106 ms
52,948 KB
testcase_05 AC 119 ms
54,024 KB
testcase_06 AC 102 ms
53,016 KB
testcase_07 AC 118 ms
53,960 KB
testcase_08 AC 105 ms
53,004 KB
testcase_09 AC 106 ms
53,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Calc{
    public static void main(String... args){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        System.out.println(n-1);
    }
}
0