結果
| 問題 |
No.2194 兄弟の掛け引き
|
| コンテスト | |
| ユーザー |
n_na
|
| 提出日時 | 2023-01-21 02:41:41 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 438 ms |
| コンパイル使用メモリ | 82,340 KB |
| 実行使用メモリ | 53,656 KB |
| 最終ジャッジ日時 | 2024-06-23 14:06:57 |
| 合計ジャッジ時間 | 1,784 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 7 WA * 7 |
ソースコード
A,B,C = map(int,input().split())
res = []
if C%A == 0:
res.append(C//A)
if (B+C)%A == 0:
res.append((B+C)//A)
if not res:
print(-1)
else:
print(*res)
n_na