結果

問題 No.2737 Compound Word
ユーザー PNJPNJ
提出日時 2024-04-20 12:30:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 60,752 KB
最終ジャッジ日時 2024-04-20 12:30:56
合計ジャッジ時間 2,189 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
52,428 KB
testcase_01 AC 33 ms
53,380 KB
testcase_02 AC 39 ms
52,812 KB
testcase_03 AC 33 ms
53,072 KB
testcase_04 AC 33 ms
52,744 KB
testcase_05 AC 34 ms
52,760 KB
testcase_06 AC 32 ms
52,344 KB
testcase_07 AC 33 ms
54,036 KB
testcase_08 AC 35 ms
53,420 KB
testcase_09 AC 37 ms
59,208 KB
testcase_10 AC 38 ms
60,752 KB
testcase_11 AC 33 ms
52,552 KB
testcase_12 AC 32 ms
53,172 KB
testcase_13 AC 32 ms
52,660 KB
testcase_14 AC 35 ms
52,288 KB
testcase_15 AC 36 ms
53,112 KB
testcase_16 AC 44 ms
52,688 KB
testcase_17 AC 35 ms
59,228 KB
testcase_18 AC 34 ms
53,620 KB
testcase_19 AC 32 ms
52,684 KB
testcase_20 AC 37 ms
58,720 KB
testcase_21 AC 32 ms
53,944 KB
testcase_22 AC 32 ms
52,792 KB
testcase_23 AC 33 ms
52,572 KB
testcase_24 AC 33 ms
52,988 KB
testcase_25 AC 32 ms
52,872 KB
testcase_26 AC 36 ms
59,300 KB
testcase_27 AC 35 ms
52,748 KB
testcase_28 AC 37 ms
59,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = [input() for i in range(N)]
T = set()
for i in range(N):
  for j in range(N):
    s = S[i] + S[j]
    if i != j:
      T.add(s)
print(len(T))
0