結果

問題 No.1692 Expectations
ユーザー _matumo__matumo_
提出日時 2021-10-20 16:38:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 11,760 KB
実行使用メモリ 33,020 KB
最終ジャッジ日時 2023-10-20 11:03:41
合計ジャッジ時間 3,132 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,108 KB
testcase_01 AC 29 ms
10,108 KB
testcase_02 AC 30 ms
10,144 KB
testcase_03 AC 29 ms
10,216 KB
testcase_04 AC 29 ms
10,140 KB
testcase_05 AC 30 ms
10,228 KB
testcase_06 AC 30 ms
10,216 KB
testcase_07 AC 29 ms
10,108 KB
testcase_08 AC 29 ms
10,196 KB
testcase_09 AC 30 ms
10,116 KB
testcase_10 AC 90 ms
30,048 KB
testcase_11 AC 90 ms
31,216 KB
testcase_12 AC 30 ms
10,108 KB
testcase_13 AC 29 ms
10,108 KB
testcase_14 AC 35 ms
12,496 KB
testcase_15 AC 97 ms
29,164 KB
testcase_16 AC 36 ms
12,384 KB
testcase_17 AC 63 ms
19,668 KB
testcase_18 AC 44 ms
16,140 KB
testcase_19 AC 112 ms
31,852 KB
testcase_20 AC 90 ms
32,880 KB
testcase_21 AC 101 ms
33,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f=lambda:[*map(int,input().split())]
N,M=f()
p=f()
n=len(set(p))
print(n,(n==1 and N==M)&1)
0