結果

問題 No.2410 Nine Numbers
ユーザー SSRSSSRS
提出日時 2023-08-11 21:29:32
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 1,536 ms
コンパイル使用メモリ 165,132 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-04-29 12:18:55
合計ジャッジ時間 1,915 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
  int ans = 1;
  for (int i = 0; i < 9; i++){
    cout << ans;
    ans *= 3;
    if (i < 8){
      cout << ' ';
    }
  }
  cout << endl;
}
0