結果

問題 No.1692 Expectations
ユーザー eSeF
提出日時 2021-09-30 19:27:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 39,316 KB
最終ジャッジ日時 2024-07-19 10:18:23
合計ジャッジ時間 2,070 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int,input().split())
type = len(set(map(int,input().split())))

if type == 1 and N == M:
    print(type,1)
else:
    print(type,0)
0