結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
_yurimoir
|
| 提出日時 | 2022-12-16 20:51:23 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 287 bytes |
| コンパイル時間 | 4,788 ms |
| 実行使用メモリ | 22,876 KB |
| スコア | 0 |
| 平均クエリ数 | 1000001.00 |
| 最終ジャッジ日時 | 2022-12-16 20:51:34 |
| 合計ジャッジ時間 | 8,135 ms |
|
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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<<(int)x<<" "<<(int)y<<endl<<flush;
}
}
_yurimoir