結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-10-25 14:45:36 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 2,631 ms |
| コンパイル使用メモリ | 73,960 KB |
| 実行使用メモリ | 41,468 KB |
| 最終ジャッジ日時 | 2024-12-30 13:37:48 |
| 合計ジャッジ時間 | 7,473 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
if(b%a==0)System.out.println(b/a);
else System.out.println(b/a+1);
}
}