結果
問題 | No.1263 ご注文は数学ですか? |
ユーザー | kozy |
提出日時 | 2020-10-08 17:43:32 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 160 bytes |
コンパイル時間 | 1,179 ms |
コンパイル使用メモリ | 10,476 KB |
実行使用メモリ | 29,736 KB |
最終ジャッジ日時 | 2023-09-27 11:55:53 |
合計ジャッジ時間 | 2,248 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
ソースコード
import numpy as np a=int(input()) mod=1000000007 L=list(range(1,a+1)) p2 = np.poly1d(L, r = True) L=p2.coef ans=1 for i in L: ans*=i ans%=mod print(ans)