結果

問題 No.1692 Expectations
ユーザー dangodango
提出日時 2023-06-25 13:06:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 133 bytes
コンパイル時間 935 ms
コンパイル使用メモリ 86,884 KB
実行使用メモリ 124,052 KB
最終ジャッジ日時 2023-09-15 08:55:32
合計ジャッジ時間 5,437 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,540 KB
testcase_01 AC 73 ms
71,400 KB
testcase_02 AC 74 ms
71,132 KB
testcase_03 AC 72 ms
71,092 KB
testcase_04 AC 70 ms
71,256 KB
testcase_05 AC 73 ms
71,412 KB
testcase_06 AC 75 ms
71,248 KB
testcase_07 AC 74 ms
71,224 KB
testcase_08 AC 74 ms
71,124 KB
testcase_09 AC 74 ms
71,424 KB
testcase_10 AC 109 ms
90,868 KB
testcase_11 AC 99 ms
90,636 KB
testcase_12 AC 73 ms
71,004 KB
testcase_13 AC 72 ms
71,112 KB
testcase_14 AC 78 ms
77,272 KB
testcase_15 AC 118 ms
106,824 KB
testcase_16 AC 78 ms
77,288 KB
testcase_17 AC 97 ms
92,472 KB
testcase_18 AC 84 ms
80,804 KB
testcase_19 AC 126 ms
111,076 KB
testcase_20 AC 118 ms
116,352 KB
testcase_21 AC 128 ms
124,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
A = set(map(int, input().split()))
ans = 0
if N == M and len(A) == 1:
    ans = 1
print(len(A), ans)
0