結果
| 問題 |
No.599 回文かい
|
| コンテスト | |
| ユーザー |
koromooo_
|
| 提出日時 | 2018-05-16 22:18:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 186 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 15,872 KB |
| 最終ジャッジ日時 | 2024-06-28 13:21:20 |
| 合計ジャッジ時間 | 5,865 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 TLE * 1 -- * 16 |
ソースコード
def func(st):
global num
for i in range(1,len(st)//2+1):
if(st[:i] == st[-i:]):
num+=1
func(st[i:-i])
num = 1
func(input())
print(num%1000000007)
koromooo_