結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
newoota0331
|
| 提出日時 | 2016-09-01 17:20:56 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 147 ms / 5,000 ms |
| コード長 | 460 bytes |
| コンパイル時間 | 2,416 ms |
| コンパイル使用メモリ | 74,952 KB |
| 実行使用メモリ | 54,096 KB |
| 最終ジャッジ日時 | 2024-11-15 17:00:07 |
| 合計ジャッジ時間 | 4,495 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int a,b;
a = sc.nextInt();
b = sc.nextInt();
if(b%a==0){
a = (b / a);
}else{
a = (b / a) + 1;
}
System.out.println(a);
}
}
newoota0331