結果

問題 No.1692 Expectations
ユーザー chineristACchineristAC
提出日時 2021-10-01 21:26:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 1,025 ms
コンパイル使用メモリ 86,732 KB
実行使用メモリ 139,356 KB
最終ジャッジ日時 2023-09-26 16:25:29
合計ジャッジ時間 4,185 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
72,024 KB
testcase_01 AC 91 ms
71,764 KB
testcase_02 AC 89 ms
71,656 KB
testcase_03 AC 92 ms
71,588 KB
testcase_04 AC 90 ms
71,944 KB
testcase_05 AC 90 ms
71,920 KB
testcase_06 AC 90 ms
72,012 KB
testcase_07 AC 89 ms
71,736 KB
testcase_08 WA -
testcase_09 AC 91 ms
71,588 KB
testcase_10 WA -
testcase_11 AC 135 ms
102,436 KB
testcase_12 AC 90 ms
72,176 KB
testcase_13 AC 91 ms
71,544 KB
testcase_14 AC 102 ms
79,940 KB
testcase_15 AC 150 ms
118,444 KB
testcase_16 AC 100 ms
79,700 KB
testcase_17 AC 125 ms
98,620 KB
testcase_18 AC 107 ms
83,768 KB
testcase_19 AC 161 ms
126,560 KB
testcase_20 AC 152 ms
128,116 KB
testcase_21 AC 162 ms
139,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import radians
import sys,random

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())

N,M = mi()
A = li()

S = set()
for a in A:
    S.add(a)

if M==1:
    print(len(S),1)
else:
    print(len(S),0)
0