結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-02 00:04:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 273 bytes |
| コンパイル時間 | 802 ms |
| 実行使用メモリ | 177,256 KB |
| スコア | 0 |
| 平均クエリ数 | 859221.00 |
| 最終ジャッジ日時 | 2022-12-02 00:04:59 |
| 合計ジャッジ時間 | 5,219 ms |
|
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 1 |
ソースコード
import sys
input = sys.stdin.readline
from collections import *
N = 10**6
xy = [(-10**9, -10**9)]
add_y = 1
for _ in range(N-1):
x, y = xy[-1][0]+1, xy[-1][1]+add_y
xy.append((x, y))
add_y += 1
print(N)
for x, y in xy:
print(x, y)
sys.stdout.flush()