結果

問題 No.1692 Expectations
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-11 17:30:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 82,116 KB
実行使用メモリ 133,120 KB
最終ジャッジ日時 2024-04-26 20:42:30
合計ジャッジ時間 2,470 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
51,712 KB
testcase_01 AC 41 ms
51,712 KB
testcase_02 AC 36 ms
51,584 KB
testcase_03 AC 38 ms
52,096 KB
testcase_04 AC 38 ms
51,712 KB
testcase_05 AC 37 ms
51,840 KB
testcase_06 AC 38 ms
52,096 KB
testcase_07 AC 38 ms
51,456 KB
testcase_08 AC 38 ms
51,712 KB
testcase_09 AC 37 ms
51,456 KB
testcase_10 AC 76 ms
96,000 KB
testcase_11 AC 78 ms
95,872 KB
testcase_12 AC 37 ms
52,096 KB
testcase_13 AC 38 ms
51,840 KB
testcase_14 AC 46 ms
63,360 KB
testcase_15 AC 94 ms
112,640 KB
testcase_16 AC 46 ms
63,872 KB
testcase_17 AC 68 ms
87,296 KB
testcase_18 AC 51 ms
69,248 KB
testcase_19 AC 101 ms
120,192 KB
testcase_20 AC 95 ms
122,112 KB
testcase_21 AC 105 ms
133,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
ns=list(map(int,input().split()))
sns=len(set(ns))

if sns==1 and len(ns) >= b:
    t=1
else:
    t=0
    
print(min(sns,b),t)
0