結果
| 問題 | No.2410 Nine Numbers | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-08-25 17:50:53 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 369 bytes | 
| コンパイル時間 | 1,632 ms | 
| コンパイル使用メモリ | 167,664 KB | 
| 実行使用メモリ | 6,816 KB | 
| 最終ジャッジ日時 | 2024-12-24 03:23:32 | 
| 合計ジャッジ時間 | 2,084 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 | 
コンパイルメッセージ
main.cpp: In function 'int check(std::vector<int>)':
main.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
            
            ソースコード
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pll pair<ll,ll>
#define pii pair<int,int>
#define fs first
#define sc second
int check(vector<int> v){
	set<int> st;
}
int main(){
	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	int p = 1;
	int s = 0;
	for(int i = 0;i<8;i++){
		cout<<p<<' ';
		s += p;
		p*=3;
	}
	cout<<s*2;
	return 0;
}
            
            
            
        