結果
問題 | No.1692 Expectations |
ユーザー | DrDrpilot |
提出日時 | 2022-01-21 18:21:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 120 ms / 2,000 ms |
コード長 | 166 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 35,556 KB |
最終ジャッジ日時 | 2024-11-25 18:10:26 |
合計ジャッジ時間 | 2,466 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
ソースコード
n,m=map(int,input().split()) a=list(map(int,input().split())) ans_max=len(set(a)) if n==m and len(set(a))==1: ans_min=1 else: ans_min=0 print(ans_max,ans_min)