結果

問題 No.3028 Function Guessing
ユーザー zimphazimpha
提出日時 2017-04-01 01:55:45
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 6,512 KB
実行使用メモリ 6,056 KB
最終ジャッジ日時 2023-09-21 21:53:54
合計ジャッジ時間 1,253 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,992 KB
testcase_01 AC 10 ms
5,936 KB
testcase_02 AC 11 ms
5,924 KB
testcase_03 AC 10 ms
5,980 KB
testcase_04 AC 11 ms
6,056 KB
testcase_05 AC 11 ms
5,936 KB
testcase_06 AC 10 ms
5,852 KB
testcase_07 AC 12 ms
5,856 KB
testcase_08 AC 11 ms
5,936 KB
testcase_09 AC 11 ms
5,936 KB
testcase_10 AC 10 ms
5,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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