結果

問題 No.2088 数当てゲーム
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-09-30 21:22:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 109 ms / 2,000 ms
コード長 220 bytes
コンパイル時間 1,472 ms
コンパイル使用メモリ 86,140 KB
実行使用メモリ 72,908 KB
最終ジャッジ日時 2023-08-24 14:27:50
合計ジャッジ時間 4,155 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
72,908 KB
testcase_01 AC 106 ms
72,812 KB
testcase_02 AC 109 ms
72,796 KB
testcase_03 AC 108 ms
72,748 KB
testcase_04 AC 108 ms
72,512 KB
testcase_05 AC 109 ms
72,600 KB
testcase_06 AC 109 ms
72,508 KB
testcase_07 AC 108 ms
72,792 KB
testcase_08 AC 106 ms
72,248 KB
testcase_09 AC 107 ms
72,808 KB
testcase_10 AC 105 ms
72,744 KB
testcase_11 AC 107 ms
72,704 KB
testcase_12 AC 106 ms
72,684 KB
testcase_13 AC 106 ms
72,504 KB
testcase_14 AC 104 ms
72,512 KB
testcase_15 AC 107 ms
72,484 KB
testcase_16 AC 107 ms
72,716 KB
testcase_17 AC 107 ms
72,584 KB
testcase_18 AC 108 ms
72,736 KB
testcase_19 AC 106 ms
72,688 KB
testcase_20 AC 106 ms
72,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

A = int(input())
B = int(input())
if A==1:
    print(1)
else:
    print(-B//(A-1))
0