結果
| 問題 | 
                            No.388 階段 (1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kaoetaya
                         | 
                    
| 提出日時 | 2016-12-09 17:21:50 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 316 bytes | 
| コンパイル時間 | 3,204 ms | 
| コンパイル使用メモリ | 74,400 KB | 
| 実行使用メモリ | 41,652 KB | 
| 最終ジャッジ日時 | 2024-11-28 16:22:59 | 
| 合計ジャッジ時間 | 5,828 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 10 WA * 2 | 
ソースコード
import java.util.*;
public class Test {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int st = s.nextInt(),f = s.nextInt();
        int fl = 0;
        
        do{
        	st -= f;
        	fl++;
        }while(st > 0);
        System.out.println(fl);
    }
}
            
            
            
        
            
kaoetaya