結果
問題 | No.1943 消えたAGCT(1) |
ユーザー |
![]() |
提出日時 | 2024-06-08 10:52:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 222 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 23,760 KB |
最終ジャッジ日時 | 2024-12-27 15:10:57 |
合計ジャッジ時間 | 38,198 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 TLE * 12 |
ソースコード
n = int(input())s = input()t = 0while True:if "A" not in s and "T" not in s and "G" not in s and "C" not in s:breakt += 1c = s.count("A") + s.count("T") + s.count("G") + s.count("C")s = s[:c-1]+s[c:]print(t)