結果
| 問題 | No.2610 Decreasing LCMs |
| コンテスト | |
| ユーザー |
蜜蜂
|
| 提出日時 | 2021-04-05 18:05:59 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 462 bytes |
| 記録 | |
| コンパイル時間 | 1,837 ms |
| コンパイル使用メモリ | 174,188 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-27 20:07:39 |
| 合計ジャッジ時間 | 5,382 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 22 |
ソースコード
//WA check
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define fi first
#define se second
random_device seed;
mt19937 randint(seed());
ll grr(ll mi, ll ma) { // [mi, ma)
return mi + randint() % (ma - mi);
}
ll inf=1e8;
int main(){
int n;
cin>>n;
vector<ll> ans(n);
for(int i=0;i<n;i++){
ans[i]=grr(1,inf);
}
sort(ans.begin(),ans.end());
for(int i=0;i<n;i++){
cout<<ans[i]<<" ";
}
cout<<endl;
}
蜜蜂