結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-23 13:22:57 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| 記録 | |
| コンパイル時間 | 1,260 ms |
| コンパイル使用メモリ | 145,740 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-05-08 04:09:42 |
| 合計ジャッジ時間 | 2,019 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 2 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int s, f;
cin >> s >> f;
if (s > f){
cout << (s + f - 1) / f << endl;
}else if (s == f){
cout << "2" << endl;
}else{
cout << "1" << endl;
}
}