結果
| 問題 | No.2194 兄弟の掛け引き |
| コンテスト | |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-05-10 15:13:30 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 162 bytes |
| 記録 | |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-05-27 07:59:15 |
| 合計ジャッジ時間 | 2,869 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 WA * 5 |
ソースコード
a,b,c = map(int,input().split()) tf = False if c%a == 0: print(c//a) tf = True if b >= c and (b+c)%a == 0: print((b+c)//a) tf = True if not tf: print(-1)
𖧱𖦸𖥩𖥣𖥩𖥣