結果

問題 No.388 階段 (1)
ユーザー wightou
提出日時 2025-04-29 00:32:50
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 490 bytes
コンパイル時間 3,515 ms
コンパイル使用メモリ 272,952 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-29 00:32:56
合計ジャッジ時間 4,604 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

/////////////////// メイン ///////////////////

int main () {
  
  //////////////////// 入力 ////////////////////

  int s, f;
  cin >> s >> f;

  //////////////// 出力変数定義 ////////////////

  int result = 0;

  //////////////////// 処理 ////////////////////

  result = (s/f)+1;

  //////////////////// 出力 ////////////////////

  cout << result << endl;

  //////////////////// 終了 ////////////////////

  return 0;

}
0