結果
| 問題 | No.3382 Palindrome Substrings (Python) |
| コンテスト | |
| ユーザー |
platypus
|
| 提出日時 | 2026-05-16 12:43:56 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 139 ms / 2,000 ms |
| + 921µs | |
| コード長 | 109 bytes |
| 記録 | |
| コンパイル時間 | 278 ms |
| コンパイル使用メモリ | 82,976 KB |
| 実行使用メモリ | 109,572 KB |
| スコア | 64 |
| 最終ジャッジ日時 | 2026-09-28 02:28:19 |
| 合計ジャッジ時間 | 4,490 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
n=int(input()) s=input() print(sum(map(lambda t:t==t[::-1],[s[j:i]for i in range(1,n+1) for j in range(i)])))
platypus