結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-12-05 09:45:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 192 bytes |
| コンパイル時間 | 493 ms |
| コンパイル使用メモリ | 54,252 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-28 16:28:14 |
| 合計ジャッジ時間 | 1,013 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <iostream>
int main() {
int s, f;
int i;
std::cin >> s >> f;
for (i = 1; i < s + 1; i++) {
if (i * f > s) break;
}
std::cout << i << std::endl;
return 0;
}