結果

問題 No.3028 Function Guessing
ユーザー zimphazimpha
提出日時 2017-03-31 23:33:04
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 95 bytes
コンパイル時間 841 ms
コンパイル使用メモリ 6,668 KB
実行使用メモリ 6,108 KB
最終ジャッジ日時 2023-09-21 12:15:04
合計ジャッジ時間 931 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n = int(raw_input())
if n == -1:
    print '2**(n-1)*7/3'
else:
    print 2 ** (n - 1) * 7 / 3
0