結果

問題 No.2194 兄弟の掛け引き
ユーザー Noah CollinsNoah Collins
提出日時 2023-01-29 23:13:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 18,044 KB
最終ジャッジ日時 2023-09-12 05:09:51
合計ジャッジ時間 1,763 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,936 KB
testcase_01 AC 15 ms
7,820 KB
testcase_02 AC 16 ms
7,824 KB
testcase_03 WA -
testcase_04 AC 16 ms
7,940 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 15 ms
7,888 KB
testcase_11 AC 15 ms
7,868 KB
testcase_12 AC 15 ms
7,936 KB
testcase_13 AC 15 ms
7,836 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,input().split());k=0
l=[]
for i in range(1,b//a+1):l+=[i]
if (c+b)%a==0:l+=[(c+b)//a]
l=sorted(list(set(l)))
if len(l)==0:
    print(-1)
else:
    for i in l:
        print(i)
0