結果

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

ソースコード

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