結果
| 問題 | No.3159 Just Answer 10 Integers! | 
| コンテスト | |
| ユーザー |  SnowBeenDiding | 
| 提出日時 | 2025-05-23 19:43:14 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 615 bytes | 
| コンパイル時間 | 10,062 ms | 
| コンパイル使用メモリ | 334,916 KB | 
| 実行使用メモリ | 7,848 KB | 
| 最終ジャッジ日時 | 2025-05-23 19:43:28 | 
| 合計ジャッジ時間 | 6,219 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 9 | 
ソースコード
#include <atcoder/all>
#include <bits/stdc++.h>
#define rep(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
using namespace atcoder;
using namespace std;
typedef long long ll;
template <typename T> ostream &operator<<(ostream &os, const vector<T> &v) {
    int n = v.size();
    rep(i, 0, n) { os << v[i] << " \n"[i == n - 1]; }
    return os;
}
int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    vector<int> p = {2, 3, 5, 7, 11, 13, 17, 19, 23};
    int m = 223092870;
    int n;
    cin >> n;
    vector<int> ans = {m};
    rep(i, 0, n - 1) { ans.push_back(m / p[i]); }
    cout << ans;
}
            
            
            
        