結果

問題 No.2194 兄弟の掛け引き
ユーザー 𖧱𖦸𖥩𖥣𖥩𖥣
提出日時 2024-05-10 15:13:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-20 03:53:56
合計ジャッジ時間 1,304 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c = map(int,input().split())
tf = False
if c%a == 0:
	print(c//a)
	tf = True
if b >= c and (b+c)%a == 0:
	print((b+c)//a)
	tf = True
if not tf:
	print(-1)
	
	
0