結果
問題 | No.2088 数当てゲーム |
ユーザー |
|
提出日時 | 2022-09-30 21:47:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 1,586 ms |
コンパイル使用メモリ | 166,320 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-22 23:15:58 |
合計ジャッジ時間 | 4,294 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); ll a, b; cin >> a >> b; if(a == 1)cout << b << '\n'; else cout << b / (a - 1) << '\n'; }