結果
| 問題 | No.1351 Sum of GCD Equals LCM | 
| コンテスト | |
| ユーザー |  Nachia | 
| 提出日時 | 2021-01-17 13:07:09 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 271 bytes | 
| コンパイル時間 | 2,835 ms | 
| コンパイル使用メモリ | 191,044 KB | 
| 最終ジャッジ日時 | 2025-01-18 00:14:11 | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 30 WA * 20 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
using LL=long long;
using ULL=unsigned long long;
#define rep(i,n) for(int i=0; i<(n); i++)
int main(){
  int N; cin>>N;
  ULL A[50]; rep(i,N) A[i]=1<<(i);
  rep(i,N){ if(i) cout<<" "; cout<<A[i]; } cout<<endl;
  return 0;
}
            
            
            
        