結果
| 問題 |
No.2778 Is there Same letter?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 21:33:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 187 ms / 2,000 ms |
| コード長 | 282 bytes |
| コンパイル時間 | 216 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 86,016 KB |
| 最終ジャッジ日時 | 2024-12-26 07:12:06 |
| 合計ジャッジ時間 | 3,842 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
#
#alist = []
n = int(input())
s = input().rstrip()
print('Yes' if len(set(s)) != n else 'No')