結果

問題 No.2715 Unique Chimatagram
ユーザー ShirotsumeShirotsume
提出日時 2024-04-05 21:31:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 389 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 75,692 KB
最終ジャッジ日時 2024-04-05 21:32:02
合計ジャッジ時間 4,868 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
56,140 KB
testcase_01 AC 48 ms
56,140 KB
testcase_02 AC 48 ms
56,140 KB
testcase_03 WA -
testcase_04 AC 42 ms
56,140 KB
testcase_05 AC 43 ms
56,140 KB
testcase_06 AC 46 ms
56,140 KB
testcase_07 AC 47 ms
56,140 KB
testcase_08 AC 48 ms
58,200 KB
testcase_09 WA -
testcase_10 AC 46 ms
58,200 KB
testcase_11 AC 46 ms
58,200 KB
testcase_12 AC 46 ms
58,200 KB
testcase_13 AC 47 ms
58,200 KB
testcase_14 AC 53 ms
63,520 KB
testcase_15 AC 48 ms
63,468 KB
testcase_16 AC 46 ms
58,200 KB
testcase_17 AC 46 ms
58,200 KB
testcase_18 AC 47 ms
58,200 KB
testcase_19 AC 47 ms
58,200 KB
testcase_20 AC 47 ms
58,200 KB
testcase_21 AC 46 ms
58,200 KB
testcase_22 AC 46 ms
58,200 KB
testcase_23 AC 48 ms
58,200 KB
testcase_24 AC 47 ms
58,200 KB
testcase_25 AC 48 ms
58,200 KB
testcase_26 AC 48 ms
58,200 KB
testcase_27 AC 72 ms
58,200 KB
testcase_28 AC 55 ms
65,580 KB
testcase_29 AC 50 ms
63,472 KB
testcase_30 AC 53 ms
65,580 KB
testcase_31 AC 50 ms
63,472 KB
testcase_32 AC 64 ms
71,728 KB
testcase_33 AC 42 ms
56,140 KB
testcase_34 AC 42 ms
56,140 KB
testcase_35 AC 42 ms
56,140 KB
testcase_36 AC 42 ms
56,140 KB
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 77 ms
71,732 KB
testcase_42 AC 384 ms
75,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, time, random
from collections import deque, Counter, defaultdict
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 61 - 1
mod = 998244353

n = ii()
s = [sorted(input()) for _ in range(n)]

for v in s:
    if s.count(v) == 1:
        print(''.join(v) + 'a')
        exit()
print(-1)
0