結果
問題 | No.2778 Is there Same letter? |
ユーザー | hato336 |
提出日時 | 2024-06-07 21:33:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 144 ms / 2,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 82,464 KB |
実行使用メモリ | 86,152 KB |
最終ジャッジ日時 | 2024-06-07 21:33:37 |
合計ジャッジ時間 | 2,765 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 120 ms
85,952 KB |
testcase_01 | AC | 117 ms
85,984 KB |
testcase_02 | AC | 115 ms
85,808 KB |
testcase_03 | AC | 128 ms
85,964 KB |
testcase_04 | AC | 120 ms
86,152 KB |
testcase_05 | AC | 117 ms
85,820 KB |
testcase_06 | AC | 120 ms
85,892 KB |
testcase_07 | AC | 122 ms
85,860 KB |
testcase_08 | AC | 117 ms
85,800 KB |
testcase_09 | AC | 115 ms
85,940 KB |
testcase_10 | AC | 144 ms
85,808 KB |
testcase_11 | AC | 118 ms
85,800 KB |
testcase_12 | AC | 122 ms
85,704 KB |
testcase_13 | AC | 115 ms
85,764 KB |
testcase_14 | AC | 119 ms
86,140 KB |
ソースコード
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')