結果

問題 No.2194 兄弟の掛け引き
ユーザー 👑 yumechiyumechi
提出日時 2023-01-22 00:09:11
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-09-06 11:16:11
合計ジャッジ時間 2,188 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,376 KB
testcase_01 AC 64 ms
71,320 KB
testcase_02 AC 59 ms
71,120 KB
testcase_03 AC 61 ms
71,296 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 61 ms
71,268 KB
testcase_08 WA -
testcase_09 AC 62 ms
71,288 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 61 ms
71,124 KB
testcase_14 AC 61 ms
71,292 KB
testcase_15 WA -
testcase_16 AC 59 ms
71,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c = map(int, input().split())
ans = [i for i in [(b + c) // a, c // a] if i > 0]
if len(ans) > 0:
  ans.sort()
  print("\n".join([str(i) for i in ans]))
else:
  print(-1)
0