結果
問題 | No.2194 兄弟の掛け引き |
ユーザー |
|
提出日時 | 2023-01-20 22:05:17 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 53 ms / 1,000 ms |
コード長 | 205 bytes |
コンパイル時間 | 196 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 57,856 KB |
最終ジャッジ日時 | 2024-06-23 10:03:04 |
合計ジャッジ時間 | 1,811 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
a,b,c = map(int,input().split())ans = []for i in range(1,10**6):num = i*aif num > b:num -= bif num== c:ans.append(i)if not ans:ans = [-1]for i in ans:print(i)