結果
問題 |
No.3159 Just Answer 10 Integers!
|
ユーザー |
|
提出日時 | 2025-05-23 20:51:16 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 337 bytes |
コンパイル時間 | 1,027 ms |
コンパイル使用メモリ | 94,972 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-23 20:51:18 |
合計ジャッジ時間 | 2,371 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 WA * 4 |
ソースコード
#include<iostream> #include<vector> #include<set> #include<math.h> #include<algorithm> using namespace std; using ll = long long; int main(void){ int n; cin >> n; vector<ll> ten={2, 3, 5, 7, 11, 13, 15, 17, 19, 23}; ll all=1; for(int i=0; i<n; i++) all*=ten[i]; for(int i=0; i<n; i++) cout << all/ten[i] << ' '; return 0; }