結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
_yurimoir
|
| 提出日時 | 2022-12-16 21:30:41 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 340 bytes |
| コンパイル時間 | 2,981 ms |
| 実行使用メモリ | 22,384 KB |
| スコア | 0 |
| 平均クエリ数 | 1000001.00 |
| 最終ジャッジ日時 | 2022-12-16 21:30:50 |
| 合計ジャッジ時間 | 8,437 ms |
|
ジャッジサーバーID (参考情報) |
judge10 / judge16 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int n=1000000;
double PI=3.14159265358979;
cout<<n<<endl;
for(int i=0;i<n;i++){
double x,y;
x=1e8*cos(2.0*PI/n*i);
y=1e8*sin(2.0*PI/n*i);
int nx,ny;
nx=(int)x;
ny=(int)y;
cout<<nx<<" "<<ny<<endl<<flush;
}
}
_yurimoir