結果

問題 No.338 アンケート機能
ユーザー sasa8uyauyasasa8uyauya
提出日時 2024-12-06 22:02:27
言語 PyPy3
(7.3.15)
結果
OLE  
実行時間 -
コード長 250 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 82,304 KB
最終ジャッジ日時 2024-12-06 22:03:16
合計ジャッジ時間 47,786 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 OLE -
testcase_01 OLE -
testcase_02 OLE -
testcase_03 OLE -
testcase_04 OLE -
testcase_05 OLE -
testcase_06 OLE -
testcase_07 OLE -
testcase_08 OLE -
testcase_09 OLE -
testcase_10 OLE -
testcase_11 OLE -
testcase_12 OLE -
testcase_13 OLE -
testcase_14 OLE -
testcase_15 OLE -
testcase_16 OLE -
testcase_17 OLE -
testcase_18 OLE -
testcase_19 OLE -
testcase_20 OLE -
testcase_21 OLE -
testcase_22 OLE -
testcase_23 OLE -
testcase_24 OLE -
testcase_25 OLE -
testcase_26 OLE -
testcase_27 OLE -
testcase_28 OLE -
testcase_29 OLE -
testcase_30 OLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
ans=10**10
for a in range(1000):
	for b in range(1000):
		if a==b==0:
			continue
		print(100*a/(a+b),((1000*a)//(a+b)+5)//10)
		if ((1000*a)//(a+b)+5)//10==A and ((1000*b)//(a+b)+5)//10==B:
			ans=min(ans,a+b)
print(ans)
0