結果

問題 No.3028 Function Guessing
ユーザー zimphazimpha
提出日時 2017-03-31 23:35:33
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 1,847 ms
コンパイル使用メモリ 77,576 KB
実行使用メモリ 76,644 KB
最終ジャッジ日時 2023-09-21 12:18:38
合計ジャッジ時間 3,676 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
76,444 KB
testcase_01 AC 77 ms
76,188 KB
testcase_02 AC 79 ms
76,316 KB
testcase_03 AC 77 ms
76,356 KB
testcase_04 AC 77 ms
76,252 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

x = [1, 2, 4, 9, 18, 37, 74, 149, 299, 599, 1198]
n = int(raw_input())
if n == -1:
    print '2**(n-1)*7/3'
else:
    print x[n]
0