結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2016-09-01 17:26:03 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 139 ms / 2,000 ms |
コード長 | 433 bytes |
コンパイル時間 | 1,963 ms |
コンパイル使用メモリ | 74,600 KB |
実行使用メモリ | 54,172 KB |
最終ジャッジ日時 | 2024-11-15 17:00:17 |
合計ジャッジ時間 | 4,758 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
/* 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,i; a = sc.nextInt(); b = sc.nextInt(); for(i=1;a>=b;i++){ a-=b; } System.out.println(i); } }