結果

問題 No.2270 T0空間
ユーザー 👑 KazunKazun
提出日時 2023-04-14 22:13:53
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 312 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 802,528 KB
最終ジャッジ日時 2024-04-18 19:42:10
合計ジャッジ時間 12,038 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
57,088 KB
testcase_01 AC 37 ms
51,840 KB
testcase_02 AC 38 ms
51,840 KB
testcase_03 AC 40 ms
51,840 KB
testcase_04 AC 39 ms
51,712 KB
testcase_05 AC 39 ms
51,840 KB
testcase_06 AC 35 ms
51,328 KB
testcase_07 AC 35 ms
51,840 KB
testcase_08 AC 35 ms
51,968 KB
testcase_09 AC 34 ms
51,712 KB
testcase_10 AC 34 ms
52,224 KB
testcase_11 AC 347 ms
172,672 KB
testcase_12 AC 245 ms
135,712 KB
testcase_13 AC 1,112 ms
301,960 KB
testcase_14 AC 1,211 ms
301,672 KB
testcase_15 AC 1,163 ms
300,404 KB
testcase_16 TLE -
testcase_17 MLE -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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