結果
問題 |
No.1611 Minimum Multiple with Double Divisors
|
ユーザー |
👑 ![]() |
提出日時 | 2021-07-21 21:36:01 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 335 bytes |
コンパイル時間 | 299 ms |
コンパイル使用メモリ | 82,376 KB |
実行使用メモリ | 84,268 KB |
最終ジャッジ日時 | 2024-07-17 16:48:30 |
合計ジャッジ時間 | 5,215 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 4 WA * 33 |
ソースコード
def solve(X): L=[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71] for y in L: if X%y!=0: return y*X import sys input=sys.stdin.readline write=sys.stdout.write T=int(input()) Ans=[] for _ in range(T): X=int(input()) Ans.append(solve(X)) write("\n".join(map(str,Ans)))