結果
問題 |
No.2088 数当てゲーム
|
ユーザー |
![]() |
提出日時 | 2022-09-30 21:44:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 1,549 ms |
コンパイル使用メモリ | 165,688 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-22 23:05:03 |
合計ジャッジ時間 | 2,763 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 RE * 1 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ll a,b; cin>>a>>b; // ax+b=x if(a==(ll)1){ cout<<1<<endl; } ll ans=b/(1-a); cout<<ans<<endl; }