結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-21 13:49:26 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 441 bytes |
| コンパイル時間 | 1,807 ms |
| 実行使用メモリ | 21,660 KB |
| スコア | 0 |
| 平均クエリ数 | 958286.00 |
| 最終ジャッジ日時 | 2022-12-21 13:49:33 |
| 合計ジャッジ時間 | 6,030 ms |
|
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
using namespace std;
int main() {
cin.tie(0)->sync_with_stdio(0);
int N = 1000000;
cout << N << "\n";
long double theta = acos(-1) * 2;
rep(i, N) {
long double t = theta / N * i;
int x = 1000000000 * cos(t);
int y = 1000000000 * sin(t);
cout << y << " " << x << "\n";
}
return 0;
}