結果
| 問題 | No.2778 Is there Same letter? |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-06-08 09:41:49 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 126 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-10-08 14:10:30 |
| 合計ジャッジ時間 | 1,944 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 12 |
ソースコード
import sys
n = int(input())
s = input()
ls = []
for i in s:
if i in ls:
print("No")
sys.exit()
ls.append(i)
print("Yes")
𖧱𖦸𖥩𖥣𖥩𖥣