結果
| 問題 | No.1611 Minimum Multiple with Double Divisors |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-07-23 10:06:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 240 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 85,240 KB |
| 実行使用メモリ | 152,320 KB |
| 最終ジャッジ日時 | 2026-04-01 22:47:45 |
| 合計ジャッジ時間 | 5,131 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 28 |
ソースコード
ps = [2,3,5,7,11,13,17,19,23,29,31,37]
t,*a = map(int,open(0).read().split())
for x in a:
xx = x
r = 99
for p in ps:
c = p
while x%p==0:
x //= p
c *= p
r = min(r,c)
print(xx*r)
convexineq