結果
問題 |
No.1611 Minimum Multiple with Double Divisors
|
ユーザー |
|
提出日時 | 2021-07-21 23:33:05 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 325 bytes |
コンパイル時間 | 518 ms |
コンパイル使用メモリ | 66,160 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-17 20:42:39 |
合計ジャッジ時間 | 5,500 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 28 |
ソースコード
#include <iostream> #include <string> #include <set> #define ll long long using namespace std; int main(){ ios::sync_with_stdio(false); int T;cin>>T; while(T--){ ll X;cin>>X; ll K=1; while(X%K==0){ K+=1; } ll Y=X*K; cout<<Y<<endl; } return 0; }