結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
natume_shiki
|
| 提出日時 | 2018-09-30 12:25:13 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 2,000 ms |
| コード長 | 519 bytes |
| コンパイル時間 | 3,581 ms |
| コンパイル使用メモリ | 74,472 KB |
| 実行使用メモリ | 37,136 KB |
| 最終ジャッジ日時 | 2024-10-12 09:00:59 |
| 合計ジャッジ時間 | 4,652 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import java.io.*;
public class No_388{
public static void main(String[] args){
BufferedReader br = null;
try{
br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
String[] sa = s.split(" ");
int[] saNum = new int[sa.length];
for(int i = 0; i < saNum.length; i++){
saNum[i] = Integer.parseInt(sa[i]);
}
System.out.println(saNum[0] / saNum[1] + 1);
}catch(IOException e){
}finally{
try{
if(br != null)br.close();
}catch(IOException e){}
}
}
}
natume_shiki