結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-18 00:49:25 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 275 bytes |
| コンパイル時間 | 2,048 ms |
| 実行使用メモリ | 37,420 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2022-12-18 00:49:37 |
| 合計ジャッジ時間 | 10,268 ms |
|
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int N;
cin>>N;
cout<<N<<'\n';
vector<array<int,2>>P(N);
for(int i=0;i<N;i++){
cout<<int(1e9*sin(2*M_PI/N*i))<<' '<<int(1e9*cos(2*M_PI/N*i))<<'\n';
}
}