結果

問題 No.1402 ビル街
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-02-19 23:56:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 3,153 ms
コード長 372 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 62,332 KB
最終ジャッジ日時 2023-10-17 00:55:43
合計ジャッジ時間 7,840 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,476 KB
testcase_01 AC 36 ms
53,480 KB
testcase_02 AC 35 ms
53,480 KB
testcase_03 AC 35 ms
53,480 KB
testcase_04 AC 36 ms
53,480 KB
testcase_05 AC 35 ms
53,480 KB
testcase_06 AC 46 ms
62,332 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

if N == 1:
    print ("2000000000 1000000001 2000000000")
elif N == 2:
    print ("2000000000 315 36000 2000000000")
elif N == 3:
    print ("2000000000 3 2 3 2000000000")
elif N == 4:
    print ("2000000000 4 2 3 5 2000000000")
elif N >= 5:

    ans = [2000000]
    for i in range(N-1):
        ans.append(2+i)
    print ("2000000000",*ans,"2000000000")
0