結果
| 問題 | No.338 アンケート機能 |
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2021-01-02 20:24:32 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 245 bytes |
| コンパイル時間 | 87 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-12 10:27:59 |
| 合計ジャッジ時間 | 2,048 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
a, b = map(int, input().split())
for s in range(1, 201):
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()
trineutron