結果

問題 No.727 仲介人moko
ユーザー cielciel
提出日時 2018-08-26 20:51:33
言語 Ruby
(3.3.0)
結果
AC  
実行時間 866 ms / 1,000 ms
コード長 70 bytes
コンパイル時間 59 ms
コンパイル使用メモリ 11,368 KB
実行使用メモリ 85,740 KB
最終ジャッジ日時 2023-09-13 19:22:59
合計ジャッジ時間 10,034 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,116 KB
testcase_01 AC 82 ms
15,048 KB
testcase_02 AC 83 ms
15,080 KB
testcase_03 AC 105 ms
17,336 KB
testcase_04 AC 81 ms
15,104 KB
testcase_05 AC 86 ms
15,168 KB
testcase_06 AC 81 ms
15,300 KB
testcase_07 AC 83 ms
15,260 KB
testcase_08 AC 81 ms
15,052 KB
testcase_09 AC 81 ms
15,264 KB
testcase_10 AC 80 ms
15,108 KB
testcase_11 AC 81 ms
15,280 KB
testcase_12 AC 80 ms
15,052 KB
testcase_13 AC 81 ms
15,144 KB
testcase_14 AC 421 ms
46,364 KB
testcase_15 AC 664 ms
67,440 KB
testcase_16 AC 367 ms
35,380 KB
testcase_17 AC 433 ms
40,260 KB
testcase_18 AC 322 ms
32,280 KB
testcase_19 AC 740 ms
74,276 KB
testcase_20 AC 441 ms
40,248 KB
testcase_21 AC 271 ms
32,468 KB
testcase_22 AC 239 ms
29,696 KB
testcase_23 AC 826 ms
81,488 KB
testcase_24 AC 866 ms
85,740 KB
testcase_25 AC 575 ms
60,240 KB
testcase_26 AC 704 ms
70,564 KB
testcase_27 AC 571 ms
60,404 KB
testcase_28 AC 100 ms
16,720 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p [*1.step(-1+2*n=gets.to_i,2),*1..n,*1..n].reduce{|s,i|s*i%(10**9+7)}
0