結果
| 問題 | No.388 階段 (1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-04-23 13:32:57 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 238 bytes | 
| コンパイル時間 | 1,008 ms | 
| コンパイル使用メモリ | 76,544 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-07 20:44:59 | 
| 合計ジャッジ時間 | 1,332 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
ソースコード
#include<iostream>
using namespace std;
int main(){
    int s, f;
    cin >> s >> f;
    if (s > f){
        cout << (s + f) / f << endl;
    }else if (s == f){
        cout << "2" << endl;
    }else{
        cout << "1" << endl;
    }
}
            
            
            
        