結果

問題 No.2270 T0空間
コンテスト
ユーザー 👑 Kazun
提出日時 2023-04-14 22:13:53
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
MLE  
実行時間 -
コード長 312 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 145 ms
コンパイル使用メモリ 85,120 KB
実行使用メモリ 835,040 KB
最終ジャッジ日時 2026-04-26 14:53:52
合計ジャッジ時間 9,212 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17 MLE * 1 -- * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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")
0