結果
| 問題 | No.2778 Is there Same letter? |
| コンテスト | |
| ユーザー |
sasa8uyauya
|
| 提出日時 | 2024-06-07 21:45:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 120 bytes |
| 記録 | |
| コンパイル時間 | 184 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2026-06-01 04:39:56 |
| 合計ジャッジ時間 | 1,522 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
n=int(input())
s=input()
d=set()
for c in s:
if c not in d:
d.add(c)
else:
print("Yes")
break
else:
print("No")
sasa8uyauya