結果
| 問題 | No.338 アンケート機能 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-01-14 07:42:41 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 2,000 ms |
| + 794µs | |
| コード長 | 233 bytes |
| 記録 | |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 80,652 KB |
| 実行使用メモリ | 66,000 KB |
| 最終ジャッジ日時 | 2026-09-28 18:51:00 |
| 合計ジャッジ時間 | 2,945 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
a,b = map(int,input().split())
ans = 10**7
for x in range(300):
for y in range(300):
if x==y==0: continue
if a-0.5 <= 100*x/(x+y) < a+0.5 and b-0.5 <= 100*y/(x+y) < b+0.5:
ans = min(ans,x+y)
print(ans)
convexineq