結果
| 問題 | No.1943 消えたAGCT(1) |
| コンテスト | |
| ユーザー |
terasa
|
| 提出日時 | 2022-05-21 19:00:16 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| コード長 | 405 bytes |
| 記録 | |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 83,512 KB |
| 最終ジャッジ日時 | 2026-04-08 23:17:26 |
| 合計ジャッジ時間 | 2,912 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
import sys
import pypyjit
import itertools
import heapq
import math
from collections import deque, defaultdict, Counter
import string
import random
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)
pypyjit.set_param('max_unroll_recursion=-1')
N = int(input())
S = input()[:-1]
chars = {'A', 'G', 'C', 'T'}
last = 0
for i, c in enumerate(S):
if c in chars:
last = i + 1
print(last)
terasa