結果
問題 | No.2088 数当てゲーム |
ユーザー |
|
提出日時 | 2022-09-30 23:05:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 246 bytes |
コンパイル時間 | 610 ms |
コンパイル使用メモリ | 72,992 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-23 00:48:29 |
合計ジャッジ時間 | 1,633 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
#include <iostream>#include <vector>#include <iomanip>#include <algorithm>using namespace std;const int initv = 100001;int main(){long long a,b;cin >> a >> b;if(1-a==0) cout << 0 << endl;else cout << b/(1-a) << endl;}