結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
hhgfhn1
|
| 提出日時 | 2018-08-20 22:19:24 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 370 bytes |
| コンパイル時間 | 1,966 ms |
| コンパイル使用メモリ | 73,772 KB |
| 実行使用メモリ | 54,176 KB |
| 最終ジャッジ日時 | 2024-11-27 13:30:23 |
| 合計ジャッジ時間 | 3,914 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 10 |
ソースコード
import java.util.Scanner;
class sampleA {
public static void main(String args[]) {
Scanner scA = new Scanner(System.in);
Scanner scB = new Scanner(System.in);
int a = scA.nextInt();
int b = scB.nextInt();
if(b%a==0){
System.out.print(b/a);
}
else{
System.out.print(b/a+1);
}
}
}
hhgfhn1