結果
問題 | No.2088 数当てゲーム |
ユーザー | roaris |
提出日時 | 2022-09-30 21:26:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 2,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 82,120 KB |
実行使用メモリ | 53,760 KB |
最終ジャッジ日時 | 2024-12-22 22:16:28 |
合計ジャッジ時間 | 2,153 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
import sys input = sys.stdin.readline from collections import * A = int(input()) B = int(input()) if A==1: assert(B==0) print(1) else: assert(B%(1-A)==0) print(B//(1-A))