結果

問題 No.338 アンケート機能
ユーザー tabataba
提出日時 2016-04-14 21:08:14
言語 Python2
(2.7.18)
結果
AC  
実行時間 1,616 ms / 2,000 ms
コード長 202 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 6,612 KB
実行使用メモリ 148,220 KB
最終ジャッジ日時 2023-08-07 21:47:26
合計ジャッジ時間 52,171 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,580 ms
147,976 KB
testcase_01 AC 1,580 ms
148,100 KB
testcase_02 AC 1,576 ms
148,000 KB
testcase_03 AC 1,568 ms
148,040 KB
testcase_04 AC 1,563 ms
148,100 KB
testcase_05 AC 1,574 ms
148,140 KB
testcase_06 AC 1,582 ms
148,004 KB
testcase_07 AC 1,588 ms
148,040 KB
testcase_08 AC 1,582 ms
148,052 KB
testcase_09 AC 1,578 ms
148,044 KB
testcase_10 AC 1,569 ms
148,036 KB
testcase_11 AC 1,570 ms
148,220 KB
testcase_12 AC 1,570 ms
148,164 KB
testcase_13 AC 1,581 ms
148,200 KB
testcase_14 AC 1,572 ms
147,976 KB
testcase_15 AC 1,577 ms
148,200 KB
testcase_16 AC 1,574 ms
148,000 KB
testcase_17 AC 1,584 ms
147,972 KB
testcase_18 AC 1,590 ms
148,084 KB
testcase_19 AC 1,616 ms
147,976 KB
testcase_20 AC 1,570 ms
148,168 KB
testcase_21 AC 1,572 ms
148,000 KB
testcase_22 AC 1,575 ms
147,980 KB
testcase_23 AC 1,574 ms
148,084 KB
testcase_24 AC 1,579 ms
148,040 KB
testcase_25 AC 1,582 ms
148,084 KB
testcase_26 AC 1,581 ms
148,044 KB
testcase_27 AC 1,590 ms
148,048 KB
testcase_28 AC 1,580 ms
148,164 KB
testcase_29 AC 1,567 ms
148,076 KB
testcase_30 AC 1,556 ms
148,080 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