結果

問題 No.3028 Function Guessing
ユーザー zimphazimpha
提出日時 2017-04-01 00:02:19
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 6,656 KB
実行使用メモリ 6,084 KB
最終ジャッジ日時 2023-09-21 19:56:50
合計ジャッジ時間 918 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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