結果

問題 No.1692 Expectations
ユーザー gr1msl3ygr1msl3y
提出日時 2021-10-01 21:25:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 161 ms / 2,000 ms
コード長 147 bytes
コンパイル時間 429 ms
コンパイル使用メモリ 86,844 KB
実行使用メモリ 153,756 KB
最終ジャッジ日時 2023-09-26 16:21:39
合計ジャッジ時間 3,499 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,100 KB
testcase_01 AC 73 ms
71,036 KB
testcase_02 AC 73 ms
70,916 KB
testcase_03 AC 73 ms
70,756 KB
testcase_04 AC 74 ms
70,660 KB
testcase_05 AC 73 ms
70,660 KB
testcase_06 AC 73 ms
71,108 KB
testcase_07 AC 74 ms
71,040 KB
testcase_08 AC 74 ms
71,084 KB
testcase_09 AC 73 ms
70,908 KB
testcase_10 AC 111 ms
102,728 KB
testcase_11 AC 110 ms
102,416 KB
testcase_12 AC 72 ms
71,204 KB
testcase_13 AC 72 ms
71,092 KB
testcase_14 AC 82 ms
78,376 KB
testcase_15 AC 144 ms
134,408 KB
testcase_16 AC 79 ms
78,704 KB
testcase_17 AC 112 ms
107,452 KB
testcase_18 AC 86 ms
85,340 KB
testcase_19 AC 152 ms
124,348 KB
testcase_20 AC 148 ms
153,756 KB
testcase_21 AC 161 ms
137,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
A = list(map(int, input().split()))

a = len(set(A))
b = 0
if len(set(A)) == 1 and N == M:
    b = 1

print(a, b)
0