結果

問題 No.1692 Expectations
ユーザー googol_S0googol_S0
提出日時 2021-10-01 21:21:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 157 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 86,852 KB
実行使用メモリ 137,744 KB
最終ジャッジ日時 2023-09-26 16:14:40
合計ジャッジ時間 3,523 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,448 KB
testcase_01 AC 72 ms
71,280 KB
testcase_02 AC 72 ms
71,156 KB
testcase_03 AC 74 ms
71,280 KB
testcase_04 AC 74 ms
71,116 KB
testcase_05 AC 73 ms
71,288 KB
testcase_06 AC 73 ms
70,996 KB
testcase_07 AC 74 ms
71,348 KB
testcase_08 AC 73 ms
71,088 KB
testcase_09 AC 73 ms
71,332 KB
testcase_10 AC 108 ms
102,836 KB
testcase_11 AC 109 ms
102,612 KB
testcase_12 AC 71 ms
71,168 KB
testcase_13 AC 74 ms
71,256 KB
testcase_14 AC 79 ms
77,252 KB
testcase_15 AC 122 ms
118,768 KB
testcase_16 AC 80 ms
77,736 KB
testcase_17 AC 99 ms
97,596 KB
testcase_18 AC 83 ms
82,168 KB
testcase_19 AC 145 ms
124,640 KB
testcase_20 AC 125 ms
128,084 KB
testcase_21 AC 157 ms
137,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))
ANS=[0,0]
if N==M:
  if len(set(A))==1:
    ANS[1]=1
ANS[0]=len(set(A))
print(*ANS)
0