This release fix some bugs and improve some details. And provide xmake-vscode plugins to integrate vscode editor and xmake.
If you want to known more usage, please see online documents。
Source code: Github, Gitee.
New features
Add add_imports to bulk import modules for the target, option and package script
Add xmak继续阅读 »
2018.4.3 19:00 ~ 2018.4.3 21:00
求回文子字符串数量
```python
import sys
def check(s):
length=len(s)
for i in range(length):
if s[i]!=s[length-1-i]:
return 0
return 1
s=sys.stdin.readline().strip()
res=0
try:
for i in range(len(s)):
for j in range(i+1,len(s)+1):
if check(继续阅读 »