結果
| 問題 | No.2194 兄弟の掛け引き |
| コンテスト | |
| ユーザー |
SidewaysOwl
|
| 提出日時 | 2023-01-20 23:27:25 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 82,464 KB |
| 実行使用メモリ | 53,448 KB |
| 最終ジャッジ日時 | 2024-06-23 11:27:08 |
| 合計ジャッジ時間 | 1,445 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 WA * 5 |
ソースコード
a,b,c = map(int,input().split())
ans = []
if b >= c:
if c % a == 0:
ans.append(c//a)
if (b + c) % a == 0:
ans.append((a+c)//a)
ans.sort()
if ans:
for e in ans:
print(e)
else:print(-1)
SidewaysOwl