結果
| 問題 | 
                            No.1692 Expectations
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tktk_snsn
                         | 
                    
| 提出日時 | 2021-10-01 21:40:05 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 140 bytes | 
| コンパイル時間 | 289 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 33,780 KB | 
| 最終ジャッジ日時 | 2024-07-19 10:48:45 | 
| 合計ジャッジ時間 | 2,133 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 18 WA * 2 | 
ソースコード
N, M = map(int, input().split()) A = list(map(int, input().split())) s = set(A) max = len(s) min = 1 if len(s) == 1 else 0 print(max, min)
            
tktk_snsn