結果
| 問題 | 
                            No.2270 T0空間
                             | 
                    
| コンテスト | |
| ユーザー | 
                            👑  Kazun
                         | 
                    
| 提出日時 | 2023-04-14 22:13:53 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 312 bytes | 
| コンパイル時間 | 238 ms | 
| コンパイル使用メモリ | 82,716 KB | 
| 実行使用メモリ | 492,828 KB | 
| 最終ジャッジ日時 | 2024-10-10 13:04:02 | 
| 合計ジャッジ時間 | 9,689 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 16 TLE * 1 -- * 5 | 
ソースコード
def solve():
    N=int(input())
    M=int(input())
    T=[list(input()[:-1]) for _ in range(M)]
    T=["".join(list(t)) for t in zip(*T)]
    return len(set(T))==N
#==================================================
import sys
input=sys.stdin.readline
write=sys.stdout.write
print("Yes" if solve() else "No")
            
            
            
        
            
Kazun