結果

問題 No.3382 Palindrome Substrings (Python)
コンテスト
ユーザー keymoon
提出日時 2025-11-22 13:34:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 895 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 77,656 KB
最終ジャッジ日時 2025-11-22 13:34:37
合計ジャッジ時間 6,645 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

input();s=input();r=0
while t:=s:
 while t:r+=t==t[::-1];*t,a=t
 s=s[1:]
print(r)
0