結果

問題 No.287 場合の数
ユーザー cielciel
提出日時 2015-10-10 00:51:53
言語 Ruby
(3.3.0)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 78 bytes
コンパイル時間 558 ms
コンパイル使用メモリ 11,448 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-08-27 00:05:06
合計ジャッジ時間 3,490 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,244 KB
testcase_01 AC 77 ms
15,244 KB
testcase_02 AC 76 ms
15,048 KB
testcase_03 AC 75 ms
15,164 KB
testcase_04 AC 76 ms
14,984 KB
testcase_05 AC 72 ms
15,144 KB
testcase_06 AC 74 ms
14,988 KB
testcase_07 AC 75 ms
15,168 KB
testcase_08 AC 80 ms
15,044 KB
testcase_09 AC 80 ms
15,188 KB
testcase_10 AC 80 ms
15,192 KB
testcase_11 AC 77 ms
15,100 KB
testcase_12 AC 78 ms
15,264 KB
testcase_13 AC 79 ms
15,280 KB
testcase_14 AC 78 ms
15,244 KB
testcase_15 AC 74 ms
15,188 KB
testcase_16 AC 77 ms
14,992 KB
testcase_17 AC 76 ms
15,108 KB
testcase_18 AC 76 ms
15,140 KB
testcase_19 AC 78 ms
15,068 KB
testcase_20 AC 77 ms
15,048 KB
testcase_21 AC 74 ms
15,284 KB
testcase_22 AC 78 ms
15,048 KB
testcase_23 AC 75 ms
15,344 KB
testcase_24 AC 79 ms
15,308 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i+1
a=[90,77,0,140,210,98,15]
i=s=0
a.map{|e|s+=e*n**(i+=1)}
p s/630
0