結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
ksbaseball
|
| 提出日時 | 2021-04-03 16:27:59 |
| 言語 | C++17(clang) (clang++ 22.1.2 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 5,000 ms |
| コード長 | 263 bytes |
| 記録 | |
| コンパイル時間 | 7,115 ms |
| コンパイル使用メモリ | 173,812 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-30 16:51:28 |
| 合計ジャッジ時間 | 2,996 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
int ippo, goal;
cin >> ippo; cin >> goal;
int total = 0;
int output = 0;
while(total < goal){
total += ippo;
output += 1;
}
cout << output;
return 0;
}
ksbaseball