結果
| 問題 |
No.2194 兄弟の掛け引き
|
| コンテスト | |
| ユーザー |
n_na
|
| 提出日時 | 2023-01-21 02:47:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 221 bytes |
| コンパイル時間 | 189 ms |
| コンパイル使用メモリ | 82,576 KB |
| 実行使用メモリ | 53,680 KB |
| 最終ジャッジ日時 | 2024-06-23 14:10:31 |
| 合計ジャッジ時間 | 1,523 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 8 WA * 6 |
ソースコード
A,B,C = map(int,input().split())
res = []
if C%A == 0 and C//A <= A/B:
res.append(C//A)
if (B+C)%A == 0 and (B+C)//A > A/B:
res.append((B+C)//A)
if not res:
print(-1)
else:
for v in res:
print(v)
n_na