結果
問題 |
No.1943 消えたAGCT(1)
|
ユーザー |
![]() |
提出日時 | 2022-05-26 18:56:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 133 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 28,752 KB |
最終ジャッジ日時 | 2024-09-20 15:04:38 |
合計ジャッジ時間 | 4,641 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 7 OLE * 1 -- * 17 |
ソースコード
N=int(input()) p=[int(c in 'AGCT') for c in input()] n=p.count(1) for i in range(N): n=p.count(1) if n<1: break p.pop(n-1) print(p) else: i=N print(i)