結果
| 問題 | 
                            No.2778 Is there Same letter?
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2024-06-07 22:07:16 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 51 ms / 2,000 ms | 
| コード長 | 106 bytes | 
| コンパイル時間 | 450 ms | 
| コンパイル使用メモリ | 82,048 KB | 
| 実行使用メモリ | 51,712 KB | 
| 最終ジャッジ日時 | 2024-12-26 08:11:47 | 
| 合計ジャッジ時間 | 2,293 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
ソースコード
n=int(input())
s=input()
l=list(map(str,s))
if len(l)!=len(set(l)):
    print("Yes")
else:
    print("No")