結果

問題 No.8109 GCD between Permutations
ユーザー nu50218
提出日時 2024-04-01 23:29:25
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 2,232 ms
コンパイル使用メモリ 161,956 KB
実行使用メモリ 25,580 KB
平均クエリ数 1.00
最終ジャッジ日時 2024-09-30 22:49:17
合計ジャッジ時間 4,416 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin >> n;
    cout << "!";
    for (int i = 1; i <= n; i++) cout << " " << i;
    for (int i = 1; i <= n; i++) cout << " " << i;
    cout << endl;
}
0