結果

問題 No.1943 消えたAGCT(1)
ユーザー nohakai3nohakai3
提出日時 2022-06-21 14:28:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,900 KB
最終ジャッジ日時 2024-04-22 08:33:45
合計ジャッジ時間 5,141 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,752 KB
testcase_01 AC 35 ms
10,624 KB
testcase_02 AC 32 ms
10,624 KB
testcase_03 WA -
testcase_04 AC 33 ms
10,752 KB
testcase_05 WA -
testcase_06 AC 33 ms
10,752 KB
testcase_07 AC 33 ms
10,624 KB
testcase_08 AC 33 ms
10,624 KB
testcase_09 AC 194 ms
11,648 KB
testcase_10 WA -
testcase_11 AC 229 ms
11,772 KB
testcase_12 AC 239 ms
11,776 KB
testcase_13 AC 147 ms
11,264 KB
testcase_14 AC 38 ms
10,752 KB
testcase_15 AC 208 ms
11,776 KB
testcase_16 AC 172 ms
11,520 KB
testcase_17 AC 186 ms
11,520 KB
testcase_18 AC 213 ms
11,644 KB
testcase_19 AC 214 ms
11,776 KB
testcase_20 AC 216 ms
11,776 KB
testcase_21 AC 220 ms
11,900 KB
testcase_22 AC 200 ms
11,776 KB
testcase_23 AC 200 ms
11,648 KB
testcase_24 AC 219 ms
11,776 KB
testcase_25 AC 224 ms
11,644 KB
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
s=input()

ans=0
for i in range(n):
    if s[i]=="A" or s[i]=="C" or s[i]=="G" or s[i]=="T":
        ans=i


print(ans+1)
0