結果
問題 |
No.388 階段 (1)
|
ユーザー |
![]() |
提出日時 | 2016-07-16 16:09:24 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 149 ms / 2,000 ms |
コード長 | 685 bytes |
コンパイル時間 | 3,294 ms |
コンパイル使用メモリ | 78,924 KB |
実行使用メモリ | 41,716 KB |
最終ジャッジ日時 | 2024-10-15 13:47:29 |
合計ジャッジ時間 | 5,956 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
import java.util.*; import java.io.*; import java.awt.geom.*; import java.math.*; public class No0388 { static final Scanner in = new Scanner(System.in); static final PrintWriter out = new PrintWriter(System.out,false); static boolean debug = false; static void solve() { int s = in.nextInt(); int f = in.nextInt(); out.println((1 + s/f)); } public static void main(String[] args) { debug = args.length > 0; long start = System.nanoTime(); solve(); out.flush(); long end = System.nanoTime(); dump((end - start) / 1000000 + " ms"); in.close(); out.close(); } static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); } }