結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
weaken
|
| 提出日時 | 2020-10-09 11:29:45 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 21 ms / 2,000 ms |
| コード長 | 293 bytes |
| コンパイル時間 | 1,602 ms |
| コンパイル使用メモリ | 192,072 KB |
| 最終ジャッジ日時 | 2025-01-15 03:39:58 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <bits/stdc++.h>
#define fastIO (cin.tie(0), cout.tie(0), ios::sync_with_stdio(false))
using namespace std;
int main() {
fastIO;
int s, f;
cin >> s >> f;
for (int i = 0; i < 4562; ++i) {
if (s < f * i) {
cout << i << '\n';
return 0;
}
}
return 0;
}
weaken