結果
| 問題 | No.2088 数当てゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-30 21:26:34 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 187 bytes |
| 記録 | |
| コンパイル時間 | 174 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 53,632 KB |
| 最終ジャッジ日時 | 2026-05-29 01:30:20 |
| 合計ジャッジ時間 | 1,849 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))