結果
問題 | No.338 アンケート機能 |
ユーザー |
![]() |
提出日時 | 2024-12-06 21:48:33 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 195 bytes |
コンパイル時間 | 700 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 63,232 KB |
最終ジャッジ日時 | 2024-12-06 21:48:37 |
合計ジャッジ時間 | 4,175 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 10 WA * 18 |
ソースコード
A,B=map(int,input().split())ans=10**10for a in range(1000):for b in range(1000):if a==b==0:continueif round(100*a/(a+b))==A and round(100*b/(a+b))==B:ans=min(ans,a+b)print(ans)