結果

問題 No.314 ケンケンパ
ユーザー tjaketjake
提出日時 2015-12-08 00:50:34
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 72 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 13,848 KB
最終ジャッジ日時 2023-10-12 20:26:25
合計ジャッジ時間 2,341 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 202 ms
13,536 KB
testcase_01 AC 11 ms
6,144 KB
testcase_02 AC 11 ms
5,916 KB
testcase_03 WA -
testcase_04 AC 12 ms
6,020 KB
testcase_05 AC 11 ms
6,164 KB
testcase_06 AC 11 ms
5,968 KB
testcase_07 AC 11 ms
6,020 KB
testcase_08 AC 11 ms
6,056 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 103 ms
9,592 KB
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a=1;b=0;c=0
for i in[0]*~-input():a,b,c=c,a,(a+b)%(10**9+7)
print a+b+c
0