結果
| 問題 | No.2778 Is there Same letter? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 21:33:34 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 52 ms / 2,000 ms |
| + 57µs | |
| コード長 | 282 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 81,028 KB |
| 実行使用メモリ | 76,548 KB |
| 最終ジャッジ日時 | 2026-10-08 05:06:57 |
| 合計ジャッジ時間 | 2,125 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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')