結果

問題 No.2778 Is there Same letter?
ユーザー 紅鮭紅鮭
提出日時 2024-06-07 22:07:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 536 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 53,816 KB
最終ジャッジ日時 2024-06-07 22:07:17
合計ジャッジ時間 1,441 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
52,764 KB
testcase_01 AC 31 ms
52,424 KB
testcase_02 AC 31 ms
52,232 KB
testcase_03 AC 31 ms
53,544 KB
testcase_04 AC 31 ms
52,284 KB
testcase_05 AC 30 ms
52,784 KB
testcase_06 AC 31 ms
51,948 KB
testcase_07 AC 31 ms
52,044 KB
testcase_08 AC 31 ms
52,824 KB
testcase_09 AC 31 ms
53,816 KB
testcase_10 AC 29 ms
52,608 KB
testcase_11 AC 31 ms
52,828 KB
testcase_12 AC 32 ms
52,520 KB
testcase_13 AC 30 ms
52,936 KB
testcase_14 AC 31 ms
52,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
s=input()
l=list(map(str,s))
if len(l)!=len(set(l)):
    print("Yes")
else:
    print("No")
0