結果
| 問題 |
No.1943 消えたAGCT(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-16 10:02:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 22,188 KB |
| 最終ジャッジ日時 | 2024-07-16 10:02:57 |
| 合計ジャッジ時間 | 4,502 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 -- * 17 |
ソースコード
n = int(input())
s = list(input())
i = 0
while True:
t = s.count("A") + s.count("G") + s.count("C") + s.count("T")
if t == 0:
break
else:
del s[t-1]
i += 1
print(i)