結果

問題 No.338 アンケート機能
ユーザー trineutron
提出日時 2021-01-02 20:22:35
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-12 10:26:34
合計ジャッジ時間 2,135 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())
for s in range(1, 101):
    for i in range(s + 1):
        j = s - i
        x = (200 * i + s) // (2 * s)
        y = (200 * j + s) // (2 * s)
        if (x, y) == (a, b):
            print(s)
            exit()
0