結果

問題 No.1692 Expectations
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-10-01 23:35:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 213 bytes
コンパイル時間 455 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 136,236 KB
最終ジャッジ日時 2023-09-26 22:49:13
合計ジャッジ時間 3,982 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,148 KB
testcase_01 AC 66 ms
71,268 KB
testcase_02 AC 65 ms
70,948 KB
testcase_03 AC 67 ms
71,152 KB
testcase_04 AC 63 ms
71,360 KB
testcase_05 AC 65 ms
71,276 KB
testcase_06 AC 65 ms
71,140 KB
testcase_07 AC 65 ms
71,280 KB
testcase_08 AC 64 ms
71,348 KB
testcase_09 AC 67 ms
71,388 KB
testcase_10 AC 97 ms
101,632 KB
testcase_11 AC 97 ms
101,456 KB
testcase_12 AC 65 ms
71,500 KB
testcase_13 AC 68 ms
71,452 KB
testcase_14 AC 71 ms
77,248 KB
testcase_15 AC 114 ms
117,432 KB
testcase_16 AC 72 ms
77,736 KB
testcase_17 AC 95 ms
97,048 KB
testcase_18 AC 80 ms
82,228 KB
testcase_19 AC 121 ms
123,260 KB
testcase_20 AC 119 ms
127,112 KB
testcase_21 AC 128 ms
136,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

import sys
from sys import stdin

N,M = map(int,stdin.readline().split())

A = list(map(int,stdin.readline().split()))

s = set(A)

if len(s) == 1 and N == M:
    print (1,1)
else:
    print (len(s),0)
0