結果
| 問題 |
No.1943 消えたAGCT(1)
|
| コンテスト | |
| ユーザー |
shika_126
|
| 提出日時 | 2022-05-22 21:04:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 182 bytes |
| コンパイル時間 | 308 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,952 KB |
| 最終ジャッジ日時 | 2024-09-20 12:54:06 |
| 合計ジャッジ時間 | 4,327 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 -- * 17 |
ソースコード
_ = input()
s = list(input())
n = 0
while 'A' in s or 'G' in s or 'C' in s or 'T' in s:
c = s.count('A')+s.count('G')+s.count('C')+s.count('T')-1
s.pop(c)
n += 1
print(n)
shika_126