結果

問題 No.1943 消えたAGCT(1)
ユーザー Ryuki87241978Ryuki87241978
提出日時 2022-05-20 23:42:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 11,716 KB
実行使用メモリ 11,052 KB
最終ジャッジ日時 2023-10-20 14:38:34
合計ジャッジ時間 4,172 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,068 KB
testcase_01 AC 25 ms
10,068 KB
testcase_02 AC 28 ms
10,068 KB
testcase_03 AC 25 ms
10,068 KB
testcase_04 AC 26 ms
10,068 KB
testcase_05 AC 27 ms
10,068 KB
testcase_06 AC 26 ms
10,068 KB
testcase_07 AC 27 ms
10,068 KB
testcase_08 AC 26 ms
10,068 KB
testcase_09 AC 148 ms
11,052 KB
testcase_10 AC 130 ms
11,052 KB
testcase_11 AC 119 ms
11,052 KB
testcase_12 AC 119 ms
11,052 KB
testcase_13 AC 82 ms
10,744 KB
testcase_14 AC 27 ms
10,120 KB
testcase_15 AC 125 ms
10,988 KB
testcase_16 AC 103 ms
10,816 KB
testcase_17 AC 116 ms
10,848 KB
testcase_18 AC 137 ms
11,052 KB
testcase_19 AC 131 ms
11,052 KB
testcase_20 AC 137 ms
11,052 KB
testcase_21 AC 127 ms
11,052 KB
testcase_22 AC 151 ms
11,052 KB
testcase_23 AC 149 ms
11,052 KB
testcase_24 AC 127 ms
11,052 KB
testcase_25 AC 126 ms
11,052 KB
testcase_26 AC 122 ms
11,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = input()
now = 0
for i in range(len(s)):
    if s[i] in ["A","T","C","G"]:
        now = i+1
print(now)
0