結果
| 問題 | No.1351 Sum of GCD Equals LCM | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-01-24 13:28:49 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 298 bytes | 
| コンパイル時間 | 530 ms | 
| コンパイル使用メモリ | 65,280 KB | 
| 最終ジャッジ日時 | 2025-01-18 07:47:18 | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 50 | 
ソースコード
#line 1 "main.cpp"
#include <iostream>
using namespace std;
void solve() {
    int n;
    cin >> n;
    for (int i = 0; i < n; ++i) {
        cout << (1LL << i) << " ";
    }
    cout << "\n";
}
int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    solve();
    return 0;
}
            
            
            
        