結果
問題 |
No.2737 Compound Word
|
ユーザー |
|
提出日時 | 2024-11-10 07:34:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 271 bytes |
コンパイル時間 | 432 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-10 07:34:23 |
合計ジャッジ時間 | 2,759 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 27 |
ソースコード
N=input() lis=[] T=0 while True: S=input() lis.append(S) if len(S)==0: break for n in range(0,len(lis)-1): for k in range(n+1,len(lis)): if len(lis[k].split(lis[n]))==1: T+=2 else: T+=1 T-=2**int(N) print(T)