結果
| 問題 | No.1943 消えたAGCT(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 21:41:36 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 483 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-04-08 19:23:51 |
| 合計ジャッジ時間 | 5,667 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 -- * 17 |
ソースコード
N = int(input())
S = input()
ans=0
for i in range(N):
c=S.count("A")+S.count("G")+S.count("C")+S.count("T")
if c==0:
break
# print(c)
t=S[:c-1]+S[c:]
S=t
# print(t)
ans+=1
print(ans)