結果

問題 No.1692 Expectations
ユーザー ysys
提出日時 2021-12-24 23:19:37
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 81,704 KB
実行使用メモリ 165,528 KB
最終ジャッジ日時 2023-10-20 02:46:17
合計ジャッジ時間 3,723 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,424 KB
testcase_01 AC 39 ms
53,424 KB
testcase_02 AC 40 ms
53,424 KB
testcase_03 AC 39 ms
53,424 KB
testcase_04 AC 39 ms
53,424 KB
testcase_05 AC 39 ms
53,424 KB
testcase_06 AC 39 ms
53,424 KB
testcase_07 AC 39 ms
53,424 KB
testcase_08 AC 40 ms
53,424 KB
testcase_09 AC 39 ms
53,424 KB
testcase_10 AC 78 ms
96,832 KB
testcase_11 AC 77 ms
96,588 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 47 ms
66,540 KB
testcase_15 AC 111 ms
130,764 KB
testcase_16 AC 48 ms
66,844 KB
testcase_17 AC 79 ms
99,676 KB
testcase_18 AC 56 ms
75,508 KB
testcase_19 AC 121 ms
139,516 KB
testcase_20 AC 114 ms
150,108 KB
testcase_21 AC 126 ms
165,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
A = list(map(int, input().split()))
ma = len(set(A))
mi = 0
if len(set(A)) == 1:
  mi += 1
print(ma, mi)
0