結果
| 問題 | 
                            No.2778 Is there Same letter?
                             | 
                    
| コンテスト | |
| ユーザー | 
                             あじゃじゃ
                         | 
                    
| 提出日時 | 2024-06-07 22:12:43 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 52 ms / 2,000 ms | 
| コード長 | 103 bytes | 
| コンパイル時間 | 1,186 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 51,840 KB | 
| 最終ジャッジ日時 | 2024-12-26 08:19:00 | 
| 合計ジャッジ時間 | 3,833 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
ソースコード
N=int(input())
S=list(input())
s=list(set(S))
if len(S)==len(s):
    print("No")
else:
    print("Yes")
            
            
            
        
            
あじゃじゃ