結果
| 問題 | No.495 (^^*) Easy |
| コンテスト | |
| ユーザー |
yoshi_k
|
| 提出日時 | 2017-09-18 22:56:37 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 112 ms / 2,000 ms |
| コード長 | 268 bytes |
| 記録 | |
| コンパイル時間 | 420 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-05-08 09:54:50 |
| 合計ジャッジ時間 | 2,165 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 |
ソースコード
import sys
from collections import defaultdict
try:
import mydebug
def dprint(*objects):
print(*objects)
except:
def dprint(*objects, sep='', end='\n'): pass
s = input()
l = r"(^^*)"
r = r"(*^^)"
nl = s.count(l)
nr = s.count(r)
print(nl, nr)
yoshi_k