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

This commit is contained in:
vlad committed 2017-10-05 17:00:44 +03:00
1 parent 426cbe6861
commit 07b1c4e0e1
3 files changed
+123

No files matched your search

+8
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)