結果

問題 No.1692 Expectations
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-10-01 22:09:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 86,812 KB
実行使用メモリ 124,128 KB
最終ジャッジ日時 2023-09-26 17:31:28
合計ジャッジ時間 3,713 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,088 KB
testcase_01 AC 76 ms
71,160 KB
testcase_02 AC 75 ms
71,148 KB
testcase_03 AC 75 ms
71,136 KB
testcase_04 AC 74 ms
71,264 KB
testcase_05 AC 77 ms
71,284 KB
testcase_06 AC 76 ms
71,276 KB
testcase_07 AC 74 ms
71,132 KB
testcase_08 AC 73 ms
71,252 KB
testcase_09 AC 75 ms
71,536 KB
testcase_10 AC 114 ms
91,032 KB
testcase_11 AC 101 ms
90,684 KB
testcase_12 AC 73 ms
71,224 KB
testcase_13 AC 75 ms
71,548 KB
testcase_14 AC 79 ms
77,120 KB
testcase_15 AC 118 ms
106,600 KB
testcase_16 AC 83 ms
77,476 KB
testcase_17 AC 99 ms
92,484 KB
testcase_18 AC 85 ms
81,020 KB
testcase_19 AC 127 ms
111,080 KB
testcase_20 AC 119 ms
116,708 KB
testcase_21 AC 128 ms
124,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int,input().split())
A = set(map(int,input().split()))
if len(A) == 1 and n == m:
    print(len(A),1)
else:
    print(len(A),0)
0