結果
| 問題 |
No.1402 ビル街
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2021-02-19 23:55:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 332 bytes |
| コンパイル時間 | 155 ms |
| コンパイル使用メモリ | 82,760 KB |
| 実行使用メモリ | 61,356 KB |
| 最終ジャッジ日時 | 2024-09-17 00:13:01 |
| 合計ジャッジ時間 | 6,218 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | WA * 5 |
ソースコード
N=int(input())
inf=2*10**9
h=inf//2
if N==1:
print(inf,2,inf)
elif N==2:
print(2000000000,315,36000,2000000000)
else:
if N%2:
p=(N-1)//2
X=list(range(2,p+2))
Y=[inf]+X[::-1]+[h]+X+[inf]
else:
p=(N-2)//2
X=list(range(2,p+2))
Y=[inf]+X[::-1]+[h,h]+X+[inf]
print(*Y)
Kazun