結果

問題 No.2737 Compound Word
ユーザー rlangevinrlangevin
提出日時 2024-04-20 10:02:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 220 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 59,184 KB
最終ジャッジ日時 2024-04-20 10:02:21
合計ジャッジ時間 2,631 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,396 KB
testcase_01 AC 38 ms
52,052 KB
testcase_02 AC 39 ms
52,352 KB
testcase_03 AC 38 ms
52,404 KB
testcase_04 AC 38 ms
52,120 KB
testcase_05 AC 39 ms
53,300 KB
testcase_06 AC 38 ms
52,200 KB
testcase_07 AC 37 ms
51,948 KB
testcase_08 AC 37 ms
52,392 KB
testcase_09 AC 41 ms
58,772 KB
testcase_10 AC 41 ms
59,184 KB
testcase_11 AC 37 ms
52,148 KB
testcase_12 AC 38 ms
52,204 KB
testcase_13 AC 38 ms
53,276 KB
testcase_14 AC 37 ms
52,628 KB
testcase_15 AC 41 ms
52,280 KB
testcase_16 AC 38 ms
54,160 KB
testcase_17 AC 42 ms
58,380 KB
testcase_18 AC 39 ms
53,556 KB
testcase_19 AC 42 ms
52,548 KB
testcase_20 AC 42 ms
57,984 KB
testcase_21 AC 38 ms
52,572 KB
testcase_22 AC 38 ms
53,220 KB
testcase_23 AC 37 ms
52,016 KB
testcase_24 AC 38 ms
52,476 KB
testcase_25 AC 38 ms
53,168 KB
testcase_26 AC 43 ms
58,580 KB
testcase_27 AC 38 ms
52,284 KB
testcase_28 AC 41 ms
59,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = [None] * N
for i in range(N):
    S[i] = input()
    
SS = set()
for i in range(N):
    for j in range(N):
        if i == j:
            continue
        SS.add(S[i] + S[j])
        
print(len(SS))
0