結果

問題 No.3028 Function Guessing
ユーザー zimphazimpha
提出日時 2017-03-31 23:59:48
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 531 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 6,112 KB
最終ジャッジ日時 2023-09-21 19:52:14
合計ジャッジ時間 1,536 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,868 KB
testcase_01 AC 11 ms
6,112 KB
testcase_02 AC 12 ms
5,960 KB
testcase_03 AC 11 ms
5,996 KB
testcase_04 AC 11 ms
5,952 KB
testcase_05 AC 11 ms
5,936 KB
testcase_06 AC 11 ms
5,948 KB
testcase_07 AC 11 ms
5,884 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

x = [2, 4, 9, 18, 37, 75, 150, 300, 601, 1202]
n = int(raw_input())
if n == -1:
    print '2**(n-1)*7/3'
else:
    print x[n - 1]
0