結果

問題 No.1402 ビル街
ユーザー noshi91noshi91
提出日時 2021-02-19 22:18:29
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 3,153 ms
コード長 280 bytes
コンパイル時間 463 ms
コンパイル使用メモリ 66,592 KB
実行使用メモリ 4,352 KB
最終ジャッジ日時 2023-10-15 02:29:31
合計ジャッジ時間 6,372 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 2 ms
4,352 KB
testcase_03 AC 1 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

int main() {
  int n;
  std::cin >> n;

  std::cout << "2000000000";
  for (int i = 0; i != n; i += 1) {
    if (i == 0) {
      std::cout << " " << n + 1;
    } else {
      std::cout << " " << i + 1;
    }
  }
  std::cout << " 2000000000\n";

  return 0;
}
0