結果
問題 | No.244 ★1のグラフの問題 |
ユーザー |
![]() |
提出日時 | 2017-04-30 20:50:13 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 413 bytes |
コンパイル時間 | 2,823 ms |
コンパイル使用メモリ | 74,864 KB |
実行使用メモリ | 37,080 KB |
最終ジャッジ日時 | 2024-10-04 13:24:22 |
合計ジャッジ時間 | 3,577 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import static java.lang.System.in; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); int N = Integer.parseInt(reader.readLine()); System.out.println(N-1); } }