結果
問題 | No.5009 Draw A Convex Polygon |
ユーザー |
![]() |
提出日時 | 2022-12-16 20:29:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 2,958 ms |
実行使用メモリ | 22,692 KB |
スコア | 0 |
平均クエリ数 | 579976.00 |
最終ジャッジ日時 | 2022-12-16 20:29:55 |
合計ジャッジ時間 | 8,302 ms |
ジャッジサーバーID (参考情報) |
judge16 / judge14 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main(){int n=1e6;double PI=3.14159265358979;cout<<n<<endl;for(int i=0;i<n;i++){double x,y;x=1e6*cos(2.0*PI/n*i);y=1e6*sin(2.0*PI/n*i);cout<<setprecision(15)<<x<<" "<<y<<endl<<flush;}}