結果
| 問題 | No.599 回文かい |
| コンテスト | |
| ユーザー |
koromooo_
|
| 提出日時 | 2018-05-16 22:18:56 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 186 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 30,844 KB |
| 最終ジャッジ日時 | 2026-03-17 07:41:32 |
| 合計ジャッジ時間 | 44,045 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 RE * 4 TLE * 8 |
ソースコード
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_