提出 #26890128


ソースコード 拡げる

s=input()
l=len(set(list(s)))
print(1 if l == 1 else 3 if l == 2 else 6)

提出情報

提出日時
問題 A - Distinct Strings
ユーザ QmanEnobikto
言語 Python (3.8.2)
得点 100
コード長 74 Byte
結果 AC
実行時間 24 ms
メモリ 9020 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 10
セット名 テストケース
Sample example0.txt, example1.txt, example2.txt
All 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, example0.txt, example1.txt, example2.txt
ケース名 結果 実行時間 メモリ
000.txt AC 18 ms 8892 KiB
001.txt AC 20 ms 9020 KiB
002.txt AC 18 ms 8896 KiB
003.txt AC 18 ms 9020 KiB
004.txt AC 24 ms 8896 KiB
005.txt AC 20 ms 9020 KiB
006.txt AC 22 ms 8884 KiB
example0.txt AC 22 ms 8896 KiB
example1.txt AC 22 ms 8952 KiB
example2.txt AC 18 ms 8900 KiB