結果
| 問題 |
No.5009 Draw A Convex Polygon
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2022-12-02 01:34:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 212 bytes |
| コンパイル時間 | 523 ms |
| 実行使用メモリ | 200,408 KB |
| スコア | 0 |
| 平均クエリ数 | 1000001.00 |
| 最終ジャッジ日時 | 2022-12-02 01:34:50 |
| 合計ジャッジ時間 | 4,183 ms |
|
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
ANS=["0 0"]
x=10**9
y=0
N=1000000
while len(ANS)<N:
ANS.append(str(x)+" "+str(y))
if len(ANS)%2==0:
y+=1
else:
x-=1
y+=1
print(N,flush=True)
print("\n".join(ANS),flush=True)
titia