結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-18 17:53:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 355 bytes |
| コンパイル時間 | 1,727 ms |
| コンパイル使用メモリ | 165,700 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-08-18 17:53:33 |
| 合計ジャッジ時間 | 2,446 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
// Problem: はじめのn歩
// Contest: Virtual Judge - Yukicoder
// URL: https://vjudge.net/problem/Yukicoder-46#author=GPT_en
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long t,a;
cin >> t>>a;
long long ans = trunc(ceil(a/(t*1.0)));
cout<<fixed<<ans<<'\n';
return 0;
}