結果
| 問題 | No.2920 Blood Type | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-09-16 12:52:08 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 50 ms / 2,000 ms | 
| コード長 | 220 bytes | 
| コンパイル時間 | 381 ms | 
| コンパイル使用メモリ | 82,432 KB | 
| 実行使用メモリ | 52,352 KB | 
| 最終ジャッジ日時 | 2024-09-16 12:52:12 | 
| 合計ジャッジ時間 | 3,437 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 36 | 
ソースコード
S=input()
T=input()
s=[S.count("A"),S.count("B"),S.count("O")]
t=[T.count("A"),T.count("B"),T.count("O")]
print((s[0]*t[2]+s[2]*t[0]+s[0]*t[0])*25,(s[1]*t[2]+s[2]*t[1]+s[1]*t[1])*25,(s[0]*t[1]+s[1]*t[0])*25,s[2]*t[2]*25)
            
            
            
        