結果
| 問題 | No.2194 兄弟の掛け引き |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-14 14:59:13 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 22 ms / 1,000 ms |
| + 345µs | |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 59 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-09-13 01:51:35 |
| 合計ジャッジ時間 | 1,921 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)