結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,836 KB
testcase_01 AC 11 ms
5,856 KB
testcase_02 AC 11 ms
5,856 KB
testcase_03 AC 11 ms
5,884 KB
testcase_04 AC 10 ms
6,024 KB
testcase_05 AC 10 ms
5,864 KB
testcase_06 AC 10 ms
6,120 KB
testcase_07 AC 10 ms
5,860 KB
testcase_08 AC 10 ms
6,020 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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