結果
| 問題 | No.588 空白と回文 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-11-19 12:35:30 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                TLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 180 bytes | 
| コンパイル時間 | 51 ms | 
| コンパイル使用メモリ | 6,912 KB | 
| 実行使用メモリ | 13,640 KB | 
| 最終ジャッジ日時 | 2024-11-25 22:28:34 | 
| 合計ジャッジ時間 | 25,167 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 17 TLE * 8 | 
ソースコード
#yuki_588
s=raw_input()
res=0
for i in xrange(len(s)):
 for j in xrange(i,len(s)):
  cnt=0
  for k in xrange(j-i+1):
   if s[i+k]==s[j-k]:
    cnt+=1
  res=max(res,cnt)
print res
            
            
            
        