結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-06-14 23:51:49 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-10 17:54:45 |
| 合計ジャッジ時間 | 1,935 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 1 |
ソースコード
s = list(input()) r, sigh= 0, False for i in s: if i == '…': if sigh: sub = sub + 1 if sub > r: r = sub else: sub, sigh = 1, True else: if sigh: if sub > r: r = sub sigh = False print(r)
compass19