結果
問題 | No.2194 兄弟の掛け引き |
ユーザー |
|
提出日時 | 2023-04-14 14:59:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 1,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 137 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-10 06:40:19 |
合計ジャッジ時間 | 1,481 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
A,B,C = map(int, input().split())result = []if (B+C)%A == 0:result.append((B+C)//A)if B >= C and C%A == 0:result.append(C//A)if len(result) > 0:outPut = sorted(result)print(*outPut, sep="\n")else:print(-1)