結果

問題 No.2715 Unique Chimatagram
ユーザー ShirotsumeShirotsume
提出日時 2024-04-05 21:31:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 389 bytes
コンパイル時間 606 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 76,172 KB
最終ジャッジ日時 2024-10-01 01:45:21
合計ジャッジ時間 5,150 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
56,484 KB
testcase_01 AC 46 ms
57,120 KB
testcase_02 AC 45 ms
55,832 KB
testcase_03 WA -
testcase_04 AC 46 ms
55,588 KB
testcase_05 AC 47 ms
55,892 KB
testcase_06 AC 49 ms
56,136 KB
testcase_07 AC 47 ms
56,716 KB
testcase_08 AC 49 ms
58,132 KB
testcase_09 WA -
testcase_10 AC 49 ms
58,524 KB
testcase_11 AC 50 ms
57,872 KB
testcase_12 AC 50 ms
58,288 KB
testcase_13 AC 49 ms
57,640 KB
testcase_14 AC 52 ms
63,728 KB
testcase_15 AC 52 ms
62,428 KB
testcase_16 AC 48 ms
58,312 KB
testcase_17 AC 49 ms
57,828 KB
testcase_18 AC 51 ms
58,604 KB
testcase_19 AC 49 ms
58,668 KB
testcase_20 AC 51 ms
58,696 KB
testcase_21 AC 50 ms
59,300 KB
testcase_22 AC 49 ms
58,092 KB
testcase_23 AC 49 ms
58,544 KB
testcase_24 AC 50 ms
58,444 KB
testcase_25 AC 50 ms
59,604 KB
testcase_26 AC 50 ms
58,140 KB
testcase_27 AC 50 ms
58,136 KB
testcase_28 AC 59 ms
66,016 KB
testcase_29 AC 55 ms
64,492 KB
testcase_30 AC 56 ms
65,804 KB
testcase_31 AC 53 ms
63,264 KB
testcase_32 AC 67 ms
71,492 KB
testcase_33 AC 46 ms
55,360 KB
testcase_34 AC 45 ms
55,232 KB
testcase_35 AC 47 ms
55,380 KB
testcase_36 AC 47 ms
56,980 KB
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 84 ms
71,752 KB
testcase_42 AC 360 ms
76,172 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