結果
| 問題 |
No.2194 兄弟の掛け引き
|
| コンテスト | |
| ユーザー |
SidewaysOwl
|
| 提出日時 | 2023-01-20 23:30:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 1,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 82,332 KB |
| 実行使用メモリ | 54,108 KB |
| 最終ジャッジ日時 | 2024-06-23 11:29:08 |
| 合計ジャッジ時間 | 1,522 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
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((b+c)//a)
ans.sort()
if ans:
for e in ans:
print(e)
else:print(-1)
SidewaysOwl