結果
| 問題 | No.1692 Expectations |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2021-10-01 21:29:47 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 118 ms / 2,000 ms |
| + 786µs | |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 96,368 KB |
| 実行使用メモリ | 175,744 KB |
| 最終ジャッジ日時 | 2026-08-18 11:34:29 |
| 合計ジャッジ時間 | 3,697 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
n, m = map(int, input().split())
a = list(map(int, input().split()))
if n == m and len(set(a)) == 1:
print(1, 1)
else:
print(len(set(a)), 0)
hir355