結果
問題 | No.2194 兄弟の掛け引き |
ユーザー |
|
提出日時 | 2024-04-12 21:32:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 118 ms / 1,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 220 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-02 23:01:58 |
合計ジャッジ時間 | 2,925 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
a, b, c = map(int, input().split())ans = []for i in range(200001):t = i * atmp = tif t - b > 0:t -= bif t == c:ans.append(i)if len(ans) == 0:print(-1)else:print(*ans, sep='\n')