結果

問題 No.8109 GCD between Permutations
ユーザー KumaTachiRen
提出日時 2024-03-04 21:09:06
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 211 bytes
コンパイル時間 2,089 ms
コンパイル使用メモリ 192,156 KB
最終ジャッジ日時 2025-02-20 00:48:16
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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