結果
| 問題 | 
                            No.5009 Draw A Convex Polygon
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-12-18 01:20:09 | 
| 言語 | C++17(gcc12)  (gcc 12.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 94 ms / 2,600 ms | 
| コード長 | 292 bytes | 
| コンパイル時間 | 2,743 ms | 
| 実行使用メモリ | 21,992 KB | 
| スコア | 100,000 | 
| 平均クエリ数 | 100001.00 | 
| 最終ジャッジ日時 | 2022-12-18 01:21:11 | 
| 合計ジャッジ時間 | 3,677 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge13 / judge11 | 
| 純コード判定しない問題か言語 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int N;
  N=100000;
  cout<<N<<'\n';
  vector<array<int,2>>P(N);
  for(int i=0;i<N;i++){
    cout<<int(1e9*cos(2*M_PI/N*i))<<' '<<int(1e9*sin(2*M_PI/N*i))<<'\n';
  }
  cout<<flush;
}