結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
natume_shiki
|
| 提出日時 | 2018-09-30 12:25:13 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 519 bytes |
| 記録 | |
| コンパイル時間 | 3,964 ms |
| コンパイル使用メモリ | 80,724 KB |
| 実行使用メモリ | 39,296 KB |
| 最終ジャッジ日時 | 2026-04-28 21:44:50 |
| 合計ジャッジ時間 | 7,039 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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