結果
| 問題 |
No.1943 消えたAGCT(1)
|
| コンテスト | |
| ユーザー |
negibose2020
|
| 提出日時 | 2022-05-21 08:16:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 105 ms / 2,000 ms |
| コード長 | 470 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 97,536 KB |
| 最終ジャッジ日時 | 2024-09-20 11:10:25 |
| 合計ジャッジ時間 | 3,255 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
# # # No.1941 CHECKER×CHECKER(1)
# # S=[input() for _ in range(3)]
# # ichimatu=["#.#",".#.","#.#"]
# # ichima2=[".#.","#.#",".#."]
# # if S==ichimatu or S==ichima2:
# # print("Yes")
# # else:
# # print("No")
# # No.1942 Leading zero
# N=int(input())
# for _ in range (N):
# print(int(input()))
# No.1943 消えたAGCT(1)
AGCT=set(["A","G","C","T"])
n=int(input())
s=list(input())
ans=0
for i in range (n):
if s[i] in AGCT:
ans=i+1
print(ans)
negibose2020