結果
問題 |
No.1943 消えたAGCT(1)
|
ユーザー |
|
提出日時 | 2023-06-25 11:45:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 63 ms / 2,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 192 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 77,056 KB |
最終ジャッジ日時 | 2024-07-02 12:46:04 |
合計ジャッジ時間 | 2,922 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
N = int(input()) S = input()[::-1] K = -1 for i in S: K += 1 if 'ACGT'.__contains__(i): print(N - K) exit(0) print(0)