結果
| 問題 | No.3382 Palindrome Substrings (Python) |
| コンテスト | |
| ユーザー |
platypus
|
| 提出日時 | 2026-05-16 13:19:40 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 134 ms / 2,000 ms |
| コード長 | 95 bytes |
| 記録 | |
| コンパイル時間 | 362 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 85,396 KB |
| スコア | 76 |
| 最終ジャッジ日時 | 2026-05-16 13:19:46 |
| 合計ジャッジ時間 | 5,575 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
input() s=input() print(sum([s[j:i]==s[j:i][::-1]for i in range(1,len(s)+1)for j in range(i)]))
platypus