結果

問題 No.244 ★1のグラフの問題
ユーザー spaciaspacia
提出日時 2015-12-16 16:23:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 1,815 ms
コンパイル使用メモリ 74,396 KB
実行使用メモリ 50,524 KB
最終ジャッジ日時 2024-04-15 03:08:31
合計ジャッジ時間 2,765 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
50,300 KB
testcase_01 AC 51 ms
50,032 KB
testcase_02 AC 53 ms
49,924 KB
testcase_03 AC 52 ms
50,204 KB
testcase_04 AC 52 ms
50,320 KB
testcase_05 AC 51 ms
50,524 KB
testcase_06 AC 50 ms
49,900 KB
testcase_07 AC 50 ms
50,308 KB
testcase_08 AC 49 ms
49,984 KB
testcase_09 AC 50 ms
50,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;
import java.math.*;

class Main244 {
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		System.out.println(n - 1);
		
	}
}
0