Новые задачи!

This commit is contained in:
2017-10-05 17:00:44 +03:00
parent 426cbe6861
commit 07b1c4e0e1
3 changed files with 123 additions and 0 deletions

8
uts/uts_17_aut_py/3/G.py Normal file
View File

@@ -0,0 +1,8 @@
n = int(input()) # Unfinished
mas = input().split()
cnt = 0
for i in range(n):
curstr = str(*mas[:n] + mas[n:])
if curstr == curstr[::-1]:
cnt += 1
print(cnt)