結果
問題 |
No.1351 Sum of GCD Equals LCM
|
ユーザー |
|
提出日時 | 2021-01-16 12:22:11 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 2,137 ms |
コンパイル使用メモリ | 195,296 KB |
最終ジャッジ日時 | 2025-01-17 21:25:52 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 50 |
ソースコード
#include<bits/stdc++.h> using namespace std; void print(std::vector<long long> 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<long long> res(n); for(int i=0;i<n;i++)res[i]=inf-i; print(res); }