結果
| 問題 |
No.2778 Is there Same letter?
|
| コンテスト | |
| ユーザー |
amentorimaru
|
| 提出日時 | 2024-05-26 14:56:55 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 51 ms / 2,000 ms |
| コード長 | 297 bytes |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-12-26 06:04:57 |
| 合計ジャッジ時間 | 1,795 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import sys
input = sys.stdin.readline
def read_values(): return tuple(map(int, input().split()))
def read_list(): return list(read_values())
def main():
n = int(input())
s = input().strip()
ss = set(s)
print('YNeos'[len(s)==len(ss)::2])
if __name__ == "__main__":
main()
amentorimaru