結果
問題 | No.341 沈黙の期間 |
ユーザー | yuki2006 |
提出日時 | 2015-05-10 16:00:33 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 6,760 KB |
実行使用メモリ | 6,008 KB |
最終ジャッジ日時 | 2023-09-19 09:43:39 |
合計ジャッジ時間 | 1,144 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 12 ms
5,992 KB |
testcase_01 | AC | 12 ms
5,988 KB |
testcase_02 | AC | 12 ms
5,864 KB |
testcase_03 | AC | 12 ms
5,904 KB |
testcase_04 | AC | 12 ms
5,816 KB |
testcase_05 | AC | 12 ms
6,008 KB |
testcase_06 | AC | 11 ms
5,956 KB |
testcase_07 | AC | 12 ms
5,896 KB |
testcase_08 | AC | 12 ms
5,876 KB |
testcase_09 | AC | 11 ms
5,900 KB |
testcase_10 | AC | 12 ms
5,876 KB |
testcase_11 | RE | - |
testcase_12 | AC | 11 ms
6,000 KB |
testcase_13 | RE | - |
ソースコード
# -*- coding: utf-8 -*- import sys import codecs import re sys.stdin = codecs.getreader('utf_8')(sys.stdin) sys.stdout = codecs.getwriter('utf_8')(sys.stdout) A = raw_input() result = re.findall(ur"…+", A) print max(map(lambda s: len(s), result))