結果

問題 No.244 ★1のグラフの問題
ユーザー OGNMOGNM
提出日時 2016-12-26 15:42:01
言語 Java21
(openjdk 21)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 3,377 ms
コンパイル使用メモリ 77,444 KB
実行使用メモリ 54,236 KB
最終ジャッジ日時 2024-04-15 03:21:21
合計ジャッジ時間 5,326 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
54,032 KB
testcase_01 AC 136 ms
54,048 KB
testcase_02 AC 138 ms
54,232 KB
testcase_03 AC 137 ms
54,176 KB
testcase_04 AC 134 ms
54,232 KB
testcase_05 AC 136 ms
54,232 KB
testcase_06 AC 138 ms
54,100 KB
testcase_07 AC 136 ms
54,168 KB
testcase_08 AC 134 ms
54,008 KB
testcase_09 AC 138 ms
54,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;
import java.util.Scanner;
public class Study {
	public static void main(String[] args) {	
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        System.out.println(a-1);
	}
}
0