結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2017-12-14 12:55:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 1,000 ms |
コード長 | 177 bytes |
コンパイル時間 | 453 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-12-14 12:36:26 |
合計ジャッジ時間 | 1,298 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
l = int(input())n = int(input())s = list(input().split())count = 0for i in s:if len(i) == l:count += 1elif l > len(s):count += 2 ** (l - len(i))print(count)