結果
| 問題 |
No.805 UMG
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-13 21:44:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 130 bytes |
| コンパイル時間 | 111 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 25,728 KB |
| 最終ジャッジ日時 | 2024-11-18 14:09:25 |
| 合計ジャッジ時間 | 18,835 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 TLE * 5 |
ソースコード
import re n=int(input()) s=input() a=0 for i in range(n//2): x=r"(?=(U"+'.'*i+r"M"+'.'*i+r"G))" a+=len(re.findall(x,s)) print(a)