結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-07 15:23:07 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 478µs | |
| コード長 | 290 bytes |
| 記録 | |
| コンパイル時間 | 896 ms |
| コンパイル使用メモリ | 182,672 KB |
| 実行使用メモリ | 9,848 KB |
| 最終ジャッジ日時 | 2026-10-01 23:31:24 |
| 合計ジャッジ時間 | 2,162 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
#define forn(i,a,b) for(int i=a; i<=b; i++)
using namespace std;
void solve(){
long long a,b;
cin>>a>>b;
if(b%a==0) cout<<b/a<<endl;
else cout<<(b/a)+1<<endl;
}
int main(){
ios::sync_with_stdio(0); cin.tie(0);
int t=1;
// cin>>t;
while(t--){
solve();
}
}