結果
問題 |
No.1351 Sum of GCD Equals LCM
|
ユーザー |
|
提出日時 | 2021-01-16 12:20:59 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 1,733 ms |
コンパイル使用メモリ | 193,960 KB |
最終ジャッジ日時 | 2025-01-17 21:25:31 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 50 |
ソースコード
#include<bits/stdc++.h> using namespace std; void print(std::vector<int> v){ for(int i=0;i<v.size();i++){ if(i)cout<<' '; cout<<v[i]; }cout<<endl; } int main(){ long long inf=10000000000000000; int n;cin>>n; vector<int> res(n); for(int i=0;i<n;i++)res[i]=inf-i; print(res); }