結果
| 問題 |
No.2629 A replace B replace C
|
| コンテスト | |
| ユーザー |
mutualns
|
| 提出日時 | 2024-02-17 01:47:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| コンパイル時間 | 341 ms |
| コンパイル使用メモリ | 82,496 KB |
| 実行使用メモリ | 63,672 KB |
| 最終ジャッジ日時 | 2024-09-28 23:26:50 |
| 合計ジャッジ時間 | 4,607 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 5 |
| other | WA * 61 |
ソースコード
n=int(input()) s=input() t=input() cnt=[0,0,0] for i in range(n): if s[i]=='A': if t[i]=='B': cnt[0]+=1 elif t[i]=='C': cnt[1]+=1
mutualns