結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
satisfy5190
|
| 提出日時 | 2017-02-07 19:33:39 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 844 ms / 5,000 ms |
| コード長 | 274 bytes |
| コンパイル時間 | 3,742 ms |
| コンパイル使用メモリ | 74,076 KB |
| 実行使用メモリ | 41,504 KB |
| 最終ジャッジ日時 | 2024-12-24 19:54:09 |
| 合計ジャッジ時間 | 6,160 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
import java.util.Scanner;
public class Yuki {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = b;
int d = 0;
while(c > 0){
c = c-a;
d++;
}
System.out.println(d);
}
}
satisfy5190