結果
| 問題 | No.495 (^^*) Easy |
| コンテスト | |
| ユーザー |
yomeiri_kitsune
|
| 提出日時 | 2017-04-01 00:49:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 113 ms / 2,000 ms |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 602 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-03-29 05:27:56 |
| 合計ジャッジ時間 | 1,978 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 |
コンパイルメッセージ
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