結果
問題 |
No.2778 Is there Same letter?
|
ユーザー |
![]() |
提出日時 | 2024-06-08 09:41:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 126 bytes |
コンパイル時間 | 741 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-12-27 11:45:08 |
合計ジャッジ時間 | 2,096 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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")