結果
| 問題 | No.495 (^^*) Easy |
| コンテスト | |
| ユーザー |
yomeiri_kitsune
|
| 提出日時 | 2017-04-01 00:49:00 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 32 ms / 2,000 ms |
| + 954µs | |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2026-11-10 14:18:14 |
| 合計ジャッジ時間 | 1,546 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 |
コンパイルメッセージ
Main.py:4: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option.
m = len(re.findall("\(\^\^\*\)", input_arr))
Main.py:5: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option.
n = len(re.findall("\(\*\^\^\)", input_arr))
ソースコード
import re
input_arr = input()
m = len(re.findall("\(\^\^\*\)", input_arr))
n = len(re.findall("\(\*\^\^\)", input_arr))
print(m,n)
yomeiri_kitsune