結果
問題 | No.2609 Decreasing GCDs |
ユーザー |
![]() |
提出日時 | 2024-01-20 12:16:11 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 555 bytes |
コンパイル時間 | 1,905 ms |
コンパイル使用メモリ | 191,308 KB |
最終ジャッジ日時 | 2025-02-18 21:50:25 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; void fast_io() { ios::sync_with_stdio(false); std::cin.tie(nullptr); } int ans[25] = { 16777216, 25165824, 29360128, 31457280, 32505856, 33030144, 33292288, 33423360, 33488896, 33521664, 33538048, 33546240, 33550336, 33552384, 33553408, 33553920, 33554176, 33554304, 33554368, 33554400, 33554416, 33554424, 33554428, 33554430, 33554431, }; int main() { fast_io(); int n; cin >> n; for (int i = 0; i < n; i++) { cout << ans[i] << " "; } cout << endl; }