結果
| 問題 |
No.3382 Palindrome Substrings (Python)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-22 14:59:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 245 ms / 2,000 ms |
| コード長 | 93 bytes |
| コンパイル時間 | 277 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 76,132 KB |
| 最終ジャッジ日時 | 2025-11-22 14:59:35 |
| 合計ジャッジ時間 | 5,158 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
N,S=open(0) R=range(len(S)) S=" "+S print(sum(S[i:j+1]==S[j:i-1:-1]>""for i in R for j in R))