結果
| 問題 | 
                            No.46 はじめのn歩
                             | 
                    
| コンテスト | |
| ユーザー | 
                             d_maki
                         | 
                    
| 提出日時 | 2019-03-11 16:29:00 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 418 bytes | 
| コンパイル時間 | 2,926 ms | 
| コンパイル使用メモリ | 76,476 KB | 
| 実行使用メモリ | 54,272 KB | 
| 最終ジャッジ日時 | 2024-06-23 15:36:12 | 
| 合計ジャッジ時間 | 4,589 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 7 WA * 3 | 
ソースコード
import java.util.Scanner;
public class No46 {
	private static final String k = " ";
	public static void main(String[] args) {
		String input = null;
		Scanner sc = new Scanner(System.in);
		input = sc.nextLine();
		String[] split = input.split(k);
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		double c;
		c = (double) b / a;
		System.out.println(Math.round(c));
		sc.close();
	}
}
            
            
            
        
            
d_maki