結果
| 問題 |
No.2088 数当てゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-30 21:28:33 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 413 bytes |
| コンパイル時間 | 9,053 ms |
| コンパイル使用メモリ | 399,152 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-22 22:22:32 |
| 合計ジャッジ時間 | 9,896 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/extc++.h>
using namespace std;
typedef long long ll;
typedef long long ull;
constexpr int dx[]={1,0,0,-1},dy[]={0,1,-1,0};
constexpr int mod=998244353,Mod=1e9+7;
//*
#include<atcoder/all>
using namespace atcoder;
//*/
int main(){
ll a,b;
cin>>a>>b;
if(a==1)
cout<<0<<endl;
else
cout<<b/(1-a)<<endl;
}