結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
take
|
| 提出日時 | 2016-07-10 14:34:54 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 130 ms / 2,000 ms |
| コード長 | 514 bytes |
| コンパイル時間 | 2,290 ms |
| コンパイル使用メモリ | 74,256 KB |
| 実行使用メモリ | 41,384 KB |
| 最終ジャッジ日時 | 2024-10-13 10:13:48 |
| 合計ジャッジ時間 | 4,305 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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);
// s
int s = sc.nextInt();
//System.out.println(s);
// f
int f = sc.nextInt();
//System.out.println(f);
// ans
int ans = s / f + 1;
System.out.println(ans);
}
}
take