結果
問題 |
No.175 simpleDNA
|
ユーザー |
![]() |
提出日時 | 2016-05-02 22:34:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 198 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 817,964 KB |
最終ジャッジ日時 | 2024-10-05 02:30:17 |
合計ジャッジ時間 | 2,244 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 MLE * 1 -- * 3 |
ソースコード
import itertools L = int(input()) N = int(input()) s = input().split() if L == 3: print(N) else: k = list(itertools.product(('A','B'),repeat=L-3)) print(len(k)*N)