結果

問題 No.1692 Expectations
ユーザー 👑 timitimi
提出日時 2021-10-03 18:08:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 426 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 32,212 KB
最終ジャッジ日時 2023-09-28 18:26:37
合計ジャッジ時間 3,145 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,824 KB
testcase_01 AC 16 ms
7,956 KB
testcase_02 AC 18 ms
8,008 KB
testcase_03 AC 17 ms
7,876 KB
testcase_04 AC 16 ms
7,976 KB
testcase_05 AC 16 ms
7,976 KB
testcase_06 AC 16 ms
7,800 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,864 KB
testcase_10 WA -
testcase_11 AC 76 ms
29,232 KB
testcase_12 AC 15 ms
7,940 KB
testcase_13 AC 16 ms
7,780 KB
testcase_14 AC 22 ms
10,688 KB
testcase_15 AC 84 ms
26,328 KB
testcase_16 AC 23 ms
10,704 KB
testcase_17 AC 50 ms
17,184 KB
testcase_18 AC 31 ms
14,228 KB
testcase_19 AC 102 ms
29,948 KB
testcase_20 AC 78 ms
30,960 KB
testcase_21 AC 87 ms
32,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int, input().split())
A=list(map(int, input().split()))
a=len(set(A))
if N==M and A[0]*M==A:
  b=1
else:
  b=0
print(a,b)
0