結果
| 問題 | 
                            No.2194 兄弟の掛け引き
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-01-20 21:56:04 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 195 bytes | 
| コンパイル時間 | 378 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-06-23 09:54:36 | 
| 合計ジャッジ時間 | 1,444 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 WA * 2 | 
ソースコード
def main():
    A, B, C = map(int, input().split())
    N = [C, C+B]
    ans = []
    for n in N:
        if n%A==0: ans.append(n//A)
    if ans: print(*ans, sep="\n")
    else: print(-1)
main()