結果

問題 No.338 アンケート機能
ユーザー tabataba
提出日時 2016-04-14 21:08:14
言語 Python2
(2.7.18)
結果
AC  
実行時間 1,728 ms / 2,000 ms
コード長 202 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 148,736 KB
最終ジャッジ日時 2024-04-25 16:02:23
合計ジャッジ時間 54,703 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,680 ms
148,608 KB
testcase_01 AC 1,672 ms
148,480 KB
testcase_02 AC 1,658 ms
148,480 KB
testcase_03 AC 1,661 ms
148,480 KB
testcase_04 AC 1,661 ms
148,608 KB
testcase_05 AC 1,658 ms
148,608 KB
testcase_06 AC 1,677 ms
148,480 KB
testcase_07 AC 1,668 ms
148,608 KB
testcase_08 AC 1,661 ms
148,608 KB
testcase_09 AC 1,675 ms
148,608 KB
testcase_10 AC 1,728 ms
148,608 KB
testcase_11 AC 1,660 ms
148,608 KB
testcase_12 AC 1,656 ms
148,608 KB
testcase_13 AC 1,672 ms
148,608 KB
testcase_14 AC 1,655 ms
148,608 KB
testcase_15 AC 1,663 ms
148,480 KB
testcase_16 AC 1,671 ms
148,608 KB
testcase_17 AC 1,669 ms
148,352 KB
testcase_18 AC 1,703 ms
148,608 KB
testcase_19 AC 1,703 ms
148,736 KB
testcase_20 AC 1,679 ms
148,608 KB
testcase_21 AC 1,663 ms
148,608 KB
testcase_22 AC 1,680 ms
148,480 KB
testcase_23 AC 1,673 ms
148,608 KB
testcase_24 AC 1,669 ms
148,608 KB
testcase_25 AC 1,662 ms
148,608 KB
testcase_26 AC 1,669 ms
148,480 KB
testcase_27 AC 1,669 ms
148,608 KB
testcase_28 AC 1,677 ms
148,480 KB
testcase_29 AC 1,661 ms
148,608 KB
testcase_30 AC 1,666 ms
148,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,raw_input().split())
t=[]
for i in range(1000):
	for j in range(1000):
		if i+j!=0:
			t+=[[int(i*100./(i+j)+0.5),int(j*100./(i+j)+0.5),i+j]]
print min(i[2]for i in t if i[0]==A and i[1]==B)
0